From 4be16909756f8656748168dc74c02c325ab9950f 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') 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; } -- cgit v1.2.1