diff options
author | raveit65 <[email protected]> | 2018-05-09 11:36:14 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-13 22:02:52 +0200 |
commit | 50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b (patch) | |
tree | 013ed36cad62d30e860a260e953f74cf548e997e | |
parent | 530d7cb6c43d5c0ae1659a1595e03136dbeedcc8 (diff) | |
download | eom-50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b.tar.bz2 eom-50d0a501a9fc5ab3c0aee1450bfb4f0401392e4b.tar.xz |
editable-toolbar: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 8 |
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); } |