diff options
author | raveit65 <[email protected]> | 2019-07-20 14:16:36 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 18:56:20 +0200 |
commit | 4be16909756f8656748168dc74c02c325ab9950f (patch) | |
tree | 8f3f9ba13e2d3f6a6fb8ceb985f6f95632dca092 /src/file-manager | |
parent | f39ca526293d1fc91de9c0fa74219291cda5be99 (diff) | |
download | caja-4be16909756f8656748168dc74c02c325ab9950f.tar.bz2 caja-4be16909756f8656748168dc74c02c325ab9950f.tar.xz |
fm-list-view: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
Diffstat (limited to 'src/file-manager')
-rw-r--r-- | src/file-manager/fm-list-view.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index 7e7f3260..a6efe72d 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -581,12 +581,13 @@ motion_notify_callback (GtkWidget *widget, event->x, event->y)) { - gtk_drag_begin - (widget, - source_target_list, - GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK, - view->details->drag_button, - (GdkEvent*)event); + gtk_drag_begin_with_coordinates (widget, + source_target_list, + GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK, + view->details->drag_button, + (GdkEvent*)event, + event->x, + event->y); } return TRUE; } |