diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-10-05 14:01:09 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-10-06 19:22:09 +0200 |
commit | 28409a235d30596fc8b5cd23bf9423362a101000 (patch) | |
tree | 074143923845be2f3f5560068ee1820f2cb1c814 | |
parent | ef14edf6343c2fbc7a24c4df343eae5b68a7d3b3 (diff) | |
download | nautilus-28409a235d30596fc8b5cd23bf9423362a101000.tar.gz |
list-view-dnd: fix deprecation
-rw-r--r-- | src/nautilus-list-view-dnd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nautilus-list-view-dnd.c b/src/nautilus-list-view-dnd.c index 67dffa1ad..d682b3a02 100644 --- a/src/nautilus-list-view-dnd.c +++ b/src/nautilus-list-view-dnd.c @@ -209,11 +209,13 @@ nautilus_list_view_dnd_drag_begin (NautilusListView *list_view, event->x, event->y)) { - gtk_drag_begin (GTK_WIDGET (list_view->details->tree_view), - source_target_list, - GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK, - list_view->details->drag_button, - (GdkEvent*)event); + gtk_drag_begin_with_coordinates (GTK_WIDGET (list_view->details->tree_view), + source_target_list, + GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK, + list_view->details->drag_button, + (GdkEvent*)event, + -1, + -1); } return TRUE; } |