[gtk+/filesystemmodel: 4/20] Creating the model no longer fails
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/filesystemmodel: 4/20] Creating the model no longer fails
- Date: Wed, 1 Jul 2009 08:42:06 +0000 (UTC)
commit 05c629ffe9a213304cf7aadb7bf8b32c17373d68
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 f25440d..273feac 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6853,13 +6853,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]