summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@loopnest.org>2011-11-20 18:24:56 +0100
committerKristian Rietveld <kris@loopnest.org>2011-11-20 20:15:27 +0100
commit477b7f27e0a838ca113dfe6424670c5a1f9523a3 (patch)
treebac06964e2917cee46cbac6c4bffdab3b10107cd
parenteafff409c9992637edc6270ec07d4985b322931c (diff)
downloadgtk+-477b7f27e0a838ca113dfe6424670c5a1f9523a3.tar.gz
quartz: do not call gdk_drag_begin() twice
This makes drag and drop work again on Quartz.
-rw-r--r--gtk/gtkdnd-quartz.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 90506c1b9e..96af88f008 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;