summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd-quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkdnd-quartz.c')
-rw-r--r--gtk/gtkdnd-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index dddb6631ea..d990029cd8 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1109,7 +1109,7 @@ gtk_drag_begin_internal (GtkWidget *widget,
GdkDragContext *context;
NSWindow *nswindow;
- context = gdk_drag_begin (NULL, NULL);
+ context = gdk_drag_begin (gtk_widget_get_window (widget), NULL);
info = gtk_drag_get_source_info (context, TRUE);