[gtk+/gtk-3-2] quartz: do not call gdk_drag_begin() twice



commit 0e941cca92e9e18332305bc7fdfdccf1e0fde66d
Author: Kristian Rietveld <kris loopnest org>
Date:   Sun Nov 20 18:24:56 2011 +0100

    quartz: do not call gdk_drag_begin() twice
    
    This makes drag and drop work again on Quartz.

 gtk/gtkdnd-quartz.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 90506c1..96af88f 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1124,8 +1124,7 @@ gtk_drag_begin_internal (GtkWidget         *widget,
   GtkDragSourceInfo *info;
   GdkDevice *pointer;
   GdkWindow *window;
-  GdkDragContext *context = gdk_drag_begin (gtk_widget_get_window (widget),
-					    NULL);
+  GdkDragContext *context;
   NSWindow *nswindow = get_toplevel_nswindow (widget);
   NSPoint point = {0, 0};
   gdouble x, y;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]