From 082ef784c77646d0f6b8988a87c4d2fea36fa867 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 20 Jul 2019 17:25:21 +0200 Subject: property-browser: replace deprecated gtk_drag_begin use gtk_drag_begin_with_coordinates instead --- src/caja-property-browser.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c index 71ae99fe..56b8d439 100644 --- a/src/caja-property-browser.c +++ b/src/caja-property-browser.c @@ -1756,11 +1756,13 @@ element_clicked_callback (GtkWidget *image_table, g_object_set_data (G_OBJECT (property_browser), "dragged-image", child); - gtk_drag_begin (GTK_WIDGET (property_browser), - target_list, - GDK_ACTION_ASK | GDK_ACTION_MOVE | GDK_ACTION_COPY, - event->button, - event->event); + gtk_drag_begin_with_coordinates (GTK_WIDGET (property_browser), + target_list, + GDK_ACTION_ASK | GDK_ACTION_MOVE | GDK_ACTION_COPY, + event->button, + event->event, + event->x, + event->y); gtk_target_list_unref (target_list); -- cgit v1.2.1