summaryrefslogtreecommitdiff
path: root/src/caja-property-browser.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-20 17:25:21 +0200
committerraveit65 <[email protected]>2022-07-20 18:56:37 +0200
commit082ef784c77646d0f6b8988a87c4d2fea36fa867 (patch)
treeb1176198980c52223a5aff7c215833cfa9114239 /src/caja-property-browser.c
parent4be16909756f8656748168dc74c02c325ab9950f (diff)
downloadcaja-082ef784c77646d0f6b8988a87c4d2fea36fa867.tar.bz2
caja-082ef784c77646d0f6b8988a87c4d2fea36fa867.tar.xz
property-browser: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
Diffstat (limited to 'src/caja-property-browser.c')
-rw-r--r--src/caja-property-browser.c12
1 files changed, 7 insertions, 5 deletions
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);