From a8cac876011479a65bd58b3c804f27c17ff1bc96 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Sun, 16 Dec 2018 18:19:34 +0100 Subject: files-view-dnd: Drop GDK_ACTION_DEFAULT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s been removed from GTK+, and its use has been discouraged before that as well. --- src/nautilus-files-view-dnd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/nautilus-files-view-dnd.c b/src/nautilus-files-view-dnd.c index 9355e47f7..e8b1ec263 100644 --- a/src/nautilus-files-view-dnd.c +++ b/src/nautilus-files-view-dnd.c @@ -86,11 +86,7 @@ nautilus_files_view_handle_netscape_url_drop (NautilusFilesView *view, f = g_file_new_for_uri (url); - /* We don't support GDK_ACTION_ASK or GDK_ACTION_PRIVATE - * and we don't support combinations either. */ - if ((action != GDK_ACTION_DEFAULT) && - (action != GDK_ACTION_COPY) && - (action != GDK_ACTION_MOVE)) + if ((action != GDK_ACTION_COPY) && (action != GDK_ACTION_MOVE)) { show_dialog (_("Drag and drop is not supported."), _("An invalid drag type was used."), -- cgit v1.2.1