From 6ac29bf015aac8d568125d34471a4e393e54b915 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 20 Jul 2019 14:16:36 +0200 Subject: fm-list-view: replace deprecated gtk_drag_begin use gtk_drag_begin_with_coordinates instead --- src/file-manager/fm-list-view.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/file-manager') 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; } -- cgit v1.2.1