diff options
author | raveit65 <[email protected]> | 2016-09-04 14:40:46 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-09-14 06:04:59 +0200 |
commit | 43ff5a233282bcd00ed36088c16cabe5255d10db (patch) | |
tree | 1bef5896a9dbd8db933626795dffeb67bfe32cda /src | |
parent | 0ac35b0a6a21f62d8fbdfdcb7358a8d088b3c92b (diff) | |
download | engrampa-43ff5a233282bcd00ed36088c16cabe5255d10db.tar.bz2 engrampa-43ff5a233282bcd00ed36088c16cabe5255d10db.tar.xz |
use gtk_drag_begin_with_coordinates to avoid deprecated gtk_drag_begin
Diffstat (limited to 'src')
-rw-r--r-- | src/eggtreemultidnd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/eggtreemultidnd.c b/src/eggtreemultidnd.c index de5fbc3..3b4576e 100644 --- a/src/eggtreemultidnd.c +++ b/src/eggtreemultidnd.c @@ -323,11 +323,13 @@ egg_tree_multi_drag_motion_event (GtkWidget *widget, int cell_y; target_list = gtk_target_list_new (target_table, G_N_ELEMENTS (target_table)); - context = gtk_drag_begin (widget, - target_list, - GDK_ACTION_COPY, - priv_data->pressed_button, - (GdkEvent*)event); + context = gtk_drag_begin_with_coordinates (widget, + target_list, + GDK_ACTION_COPY, + priv_data->pressed_button, + (GdkEvent*) event, + event->x, + event->y); set_context_data (context, path_list); if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (widget), |