mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
placessidebar: do not crash if uris is NULL
On Drag'n'Drop actions across system boundaries (VM host to guest), the happen to be null. https://bugzilla.gnome.org/show_bug.cgi?id=757298
This commit is contained in:
parent
fc6f41c751
commit
4f24c8569c
@ -1708,7 +1708,7 @@ build_file_list_from_uris (const gchar **uris)
|
||||
gint i;
|
||||
|
||||
result = NULL;
|
||||
for (i = 0; uris[i]; i++)
|
||||
for (i = 0; uris && uris[i]; i++)
|
||||
{
|
||||
GFile *file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user