summaryrefslogtreecommitdiff
path: root/src/eggtreemultidnd.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-09-04 14:40:46 +0200
committerraveit65 <[email protected]>2016-09-14 06:04:59 +0200
commit43ff5a233282bcd00ed36088c16cabe5255d10db (patch)
tree1bef5896a9dbd8db933626795dffeb67bfe32cda /src/eggtreemultidnd.c
parent0ac35b0a6a21f62d8fbdfdcb7358a8d088b3c92b (diff)
downloadengrampa-43ff5a233282bcd00ed36088c16cabe5255d10db.tar.bz2
engrampa-43ff5a233282bcd00ed36088c16cabe5255d10db.tar.xz
use gtk_drag_begin_with_coordinates to avoid deprecated gtk_drag_begin
Diffstat (limited to 'src/eggtreemultidnd.c')
-rw-r--r--src/eggtreemultidnd.c12
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),