[gtk+/gtk-2.90] Creating the model no longer fails



commit ecf90addf2b88637386ff6abf5b8c48151716066
Author: Benjamin Otte <otte gnome org>
Date:   Wed Jul 1 09:48:32 2009 +0200

    Creating the model no longer fails
    
    So remove the code that checked for failure, as it's not needed anymore.

 gtk/gtkfilechooserdefault.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index fe84098..37663fd 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6947,13 +6947,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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]