diff options
author | raveit65 <[email protected]> | 2017-08-05 15:54:51 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-05 15:54:51 +0200 |
commit | 2d32f5c11590d7d63da436997b08a502e60dca15 (patch) | |
tree | 51d53e39205f3eb94afa2809d888287d61640385 /cut-n-paste-code/libegg | |
parent | e3bff9c0044087b5e468f7a533814aa9a734fdd1 (diff) | |
download | caja-2d32f5c11590d7d63da436997b08a502e60dca15.tar.bz2 caja-2d32f5c11590d7d63da436997b08a502e60dca15.tar.xz |
libegg: replace deprecated gtk_drag_begin
Diffstat (limited to 'cut-n-paste-code/libegg')
-rw-r--r-- | cut-n-paste-code/libegg/eggtreemultidnd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cut-n-paste-code/libegg/eggtreemultidnd.c b/cut-n-paste-code/libegg/eggtreemultidnd.c index 572f50ca..062bb57e 100644 --- a/cut-n-paste-code/libegg/eggtreemultidnd.c +++ b/cut-n-paste-code/libegg/eggtreemultidnd.c @@ -318,11 +318,13 @@ egg_tree_multi_drag_motion_event (GtkWidget *widget, if (egg_tree_multi_drag_source_row_draggable (EGG_TREE_MULTI_DRAG_SOURCE (model), path_list)) { - context = gtk_drag_begin (widget, - gtk_drag_source_get_target_list (widget), - di->source_actions, - priv_data->pressed_button, - (GdkEvent*)event); + context = gtk_drag_begin_with_coordinates (widget, + gtk_drag_source_get_target_list (widget), + di->source_actions, + priv_data->pressed_button, + (GdkEvent*)event, + event->x, + event->y); set_context_data (context, path_list); gtk_drag_set_icon_default (context); |