Bug fix: Crash using drag/drop in copy/move dialog
authorColin Clark <cclark@mcb.net>
Wed, 22 Feb 2017 10:46:07 +0000 (10:46 +0000)
committerColin Clark <cclark@mcb.net>
Wed, 22 Feb 2017 10:46:07 +0000 (10:46 +0000)
In the copy/move dialog, if a folder is dragged onto the bookmarks pane
to create a new bookmark, Geeqie will crash.
A filedata list was returned instead of a path list.

src/ui_pathsel.c

index fb1c234..e5fc70a 100644 (file)
@@ -353,7 +353,7 @@ static void dest_dnd_set_data(GtkWidget *view,
 
        list = g_list_append(list, path);
 
-       gchar **uris = uris_from_filelist(list);
+       gchar **uris = uris_from_pathlist(list);
        gboolean ret = gtk_selection_data_set_uris(selection_data, uris);
        if (!ret)
                {