[nautilus] dnd: Use the new gtk_drag_begin_full API



commit b65ff5d5a0d23d67f79a488f4ba9430ec4d8fe44
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Aug 7 05:53:17 2013 -0400

    dnd: Use the new gtk_drag_begin_full API

 libnautilus-private/nautilus-canvas-dnd.c |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-dnd.c b/libnautilus-private/nautilus-canvas-dnd.c
index 6e5ec61..f64dbc0 100644
--- a/libnautilus-private/nautilus-canvas-dnd.c
+++ b/libnautilus-private/nautilus-canvas-dnd.c
@@ -1395,11 +1395,13 @@ nautilus_canvas_dnd_begin_drag (NautilusCanvasContainer *container,
                gtk_adjustment_get_value (gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (container))); 
 
        /* start the drag */
-       gtk_drag_begin (GTK_WIDGET (container),
-                       dnd_info->drag_info.target_list,
-                       actions,
-                       button,
-                       (GdkEvent *) event);
+       gtk_drag_begin_full (GTK_WIDGET (container),
+                            dnd_info->drag_info.target_list,
+                            actions,
+                            button,
+                            (GdkEvent *) event,
+                            dnd_info->drag_info.start_x,
+                            dnd_info->drag_info.start_y);
 }
 
 static gboolean


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