From f6270a92e515630cde164c2312be9ef7c69e92b1 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 234f43ea..957792f8 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