[gtk+/gtk-3-20] gtkdnd: Remove unnecessary call
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] gtkdnd: Remove unnecessary call
- Date: Wed, 11 Jan 2017 15:43:28 +0000 (UTC)
commit 91417c6e045645c7562fdacb5263ee10f443b643
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Nov 24 16:24:04 2016 +0100
gtkdnd: Remove unnecessary call
drag-data-delete is emitted based on the interchange of the
DELETE atom, which may well be set or bypassed locally by
the app. As such emitting it here is not right, the other
paths handling the DELETE atom interchange are still valid
and there.
https://bugzilla.gnome.org/show_bug.cgi?id=774726
gtk/gtkdnd.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 975e3f0..6c77031 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3519,13 +3519,6 @@ gtk_drag_context_dnd_finished_cb (GdkDragContext *context,
info->proxy_dest->proxy_drop_time);
}
- if (gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE)
- {
- g_signal_emit_by_name (info->widget,
- "drag-data-delete",
- context);
- }
-
gtk_drag_source_info_destroy (info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]