summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-20 17:25:21 +0200
committerlukefromdc <[email protected]>2019-07-23 01:50:21 +0000
commitf6270a92e515630cde164c2312be9ef7c69e92b1 (patch)
treea565564fcf4f373b14e118e74140c678c0b9a2c2
parent6ac29bf015aac8d568125d34471a4e393e54b915 (diff)
downloadcaja-f6270a92e515630cde164c2312be9ef7c69e92b1.tar.bz2
caja-f6270a92e515630cde164c2312be9ef7c69e92b1.tar.xz
property-browser: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
-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 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);