filechooserentry: Use the actual discarding function to discard a folder
This commit is contained in:
@ -1477,8 +1477,7 @@ start_loading_current_folder (GtkFileChooserEntry *chooser_entry)
|
|||||||
if (chooser_entry->local_only
|
if (chooser_entry->local_only
|
||||||
&& !g_file_is_native (chooser_entry->current_folder_file))
|
&& !g_file_is_native (chooser_entry->current_folder_file))
|
||||||
{
|
{
|
||||||
g_object_unref (chooser_entry->current_folder_file);
|
discard_loading_and_current_folder_file (chooser_entry);
|
||||||
chooser_entry->current_folder_file = NULL;
|
|
||||||
|
|
||||||
return REFRESH_NOT_LOCAL;
|
return REFRESH_NOT_LOCAL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user