summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ekulik@redhat.com>2018-12-16 18:19:34 +0100
committerErnestas Kulik <ekulik@redhat.com>2019-06-29 14:33:41 +0200
commita8cac876011479a65bd58b3c804f27c17ff1bc96 (patch)
treee56539afa77ea61e52a6a0532d1c99b5c1c09460
parenta61779ae0780a9dc0d364e6b544a4a89cd29e2c1 (diff)
downloadnautilus-a8cac876011479a65bd58b3c804f27c17ff1bc96.tar.gz
files-view-dnd: Drop GDK_ACTION_DEFAULT
It’s been removed from GTK+, and its use has been discouraged before that as well.
-rw-r--r--src/nautilus-files-view-dnd.c6
1 files changed, 1 insertions, 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."),