summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-05-09 11:36:14 +0200
committerraveit65 <[email protected]>2018-05-13 22:02:52 +0200
commit50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b (patch)
tree013ed36cad62d30e860a260e953f74cf548e997e /cut-n-paste/toolbar-editor
parent530d7cb6c43d5c0ae1659a1595e03136dbeedcc8 (diff)
downloadeom-50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b.tar.bz2
eom-50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b.tar.xz
editable-toolbar: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
index aa66cf3..5648735 100644
--- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
+++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
@@ -291,7 +291,13 @@ move_item_cb (GtkAction *action,
gdk_event_get_coords (realevent, &event.x, &event.y);
gdk_event_get_root_coords (realevent, &event.x_root, &event.y_root);
- gtk_drag_begin (toolitem, list, GDK_ACTION_MOVE, 1, (GdkEvent *)&event);
+ gtk_drag_begin_with_coordinates (toolitem,
+ list,
+ GDK_ACTION_MOVE,
+ 1,
+ (GdkEvent *)&event,
+ event.x,
+ event.y);
gtk_target_list_unref (list);
}