forked from AuroraMiddleware/gtk
Creating the model no longer fails
So remove the code that checked for failure, as it's not needed anymore.
This commit is contained in:
parent
18b56b9970
commit
0ccb2f2427
@ -6951,13 +6951,6 @@ set_list_model (GtkFileChooserDefault *impl,
|
||||
G_TYPE_FILE_INFO,
|
||||
G_TYPE_STRING);
|
||||
|
||||
if (!impl->browse_files_model)
|
||||
{
|
||||
set_busy_cursor (impl, FALSE);
|
||||
profile_end ("end", NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
load_setup_timer (impl); /* This changes the state to LOAD_PRELOAD */
|
||||
|
||||
g_signal_connect (impl->browse_files_model, "finished-loading",
|
||||
|
Loading…
Reference in New Issue
Block a user