Don't pass volumes as if they were a GFile

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
Federico Mena Quintero
2010-10-14 12:32:49 -05:00
parent 1358953103
commit 56ed4f574b

View File

@@ -5437,10 +5437,11 @@ set_root_uris (GtkFileChooserDefault *impl,
{
if (list_selected != NULL)
{
shortcuts_find_folder (impl, list_selected);
if (shortcut_type == SHORTCUT_TYPE_FILE)
g_object_unref (list_selected);
if (shortcut_type == SHORTCUT_TYPE_FILE)
{
shortcuts_find_folder (impl, list_selected);
g_object_unref (list_selected);
}
}
else
{