diff options
author | raveit65 <[email protected]> | 2019-07-20 14:16:36 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-07-23 01:50:21 +0000 |
commit | 6ac29bf015aac8d568125d34471a4e393e54b915 (patch) | |
tree | 9ef0865c5611db17b6c98f1bb8983453a329ada8 | |
parent | d5f0ffdf4e7b08eb5399b457c2d3ab10fede4d1c (diff) | |
download | caja-6ac29bf015aac8d568125d34471a4e393e54b915.tar.bz2 caja-6ac29bf015aac8d568125d34471a4e393e54b915.tar.xz |
fm-list-view: replace deprecated gtk_drag_begin
use gtk_drag_begin_with_coordinates instead
-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 86c79f68..5fbad58e 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; } |