quartz: do not call gdk_drag_begin() twice

This makes drag and drop work again on Quartz.
This commit is contained in:
Kristian Rietveld
2011-11-20 18:24:56 +01:00
parent eafff409c9
commit 477b7f27e0

View 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;