]> Pileus Git - ~andy/gtk/commitdiff
quartz: do not call gdk_drag_begin() twice
authorKristian Rietveld <kris@loopnest.org>
Sun, 20 Nov 2011 17:24:56 +0000 (18:24 +0100)
committerKristian Rietveld <kris@loopnest.org>
Sun, 20 Nov 2011 19:15:27 +0000 (20:15 +0100)
This makes drag and drop work again on Quartz.

gtk/gtkdnd-quartz.c

index 90506c1b9ee657a829ab0bb3643e629f6c985a98..96af88f0080116d55c5132571dae3d2e0fc38131 100644 (file)
@@ -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;