Do not crash in file dialog

This commit is contained in:
Yevgen Muntyan 2010-11-25 02:12:08 -08:00
parent 21bf45b7f7
commit 5766579cfc

View File

@ -461,7 +461,10 @@ uri_list_to_files (GSList *list)
flocs = moo_file_array_new ();
while (list)
{
moo_file_array_take (flocs, g_file_new_for_uri (list->data));
list = list->next;
}
return flocs;
}