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:
Benjamin Otte 2009-07-01 09:48:32 +02:00
parent 18b56b9970
commit 0ccb2f2427

View File

@ -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",