[gtk+/wip/matthiasc/no-unmanaged-dnd] Stop making unneeded calls



commit 3184b405636cdb1169dce88787f4f13e2c846d2c
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]