[gtk+/wip/matthiasc/no-unmanaged-dnd: 21/24] Stop making unneeded calls
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/no-unmanaged-dnd: 21/24] Stop making unneeded calls
- Date: Sun, 27 Aug 2017 11:42:16 +0000 (UTC)
commit 14811925b7e9c73e12161423779ad0431bf63266
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 24 14:28:35 2017 -0400
Stop making unneeded calls
These calls are documented as not necessary for managed
dnd, and testing confirms that.
gtk/gtkdnd.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index f5cb409..dcdb4a6 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -1540,7 +1540,6 @@ gtk_drag_drop (GtkDragSourceInfo *info,
if (info->icon_window)
gtk_widget_hide (info->icon_window);
- gdk_drag_drop (info->context, time);
info->drop_timeout = gdk_threads_add_timeout (DROP_ABORT_TIME,
gtk_drag_abort_timeout,
info);
@@ -1665,7 +1664,6 @@ gtk_drag_cancel_internal (GtkDragSourceInfo *info,
GtkDragResult result,
guint32 time)
{
- gdk_drag_abort (info->context, time);
gtk_drag_drop_finished (info, result, time);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]