diff options
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index e941e54197..31d270e708 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -220,11 +220,9 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure) if (warning_result) folder_browser = gtk_label_new ("This should be the mail component"); - else { + else folder_browser = folder_browser_new (); - folder_browser_set_uri (FOLDER_BROWSER (folder_browser), "inbox"); - } - + if (folder_browser == NULL) return NULL; |