[gtk+] quartz: we must provide a window on drag begin now



commit 07110a61706b5614b2489b9ba93628e7d8e2c2fc
Author: Kristian Rietveld <kris gtk org>
Date:   Thu Dec 23 13:20:24 2010 +0100

    quartz: we must provide a window on drag begin now

 gtk/gtkdnd-quartz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index dddb663..d990029 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);
   



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