diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-10-02 07:43:29 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-10-02 07:43:29 +0800 |
commit | f41afabb336730bb1259c7a95b55c31416c1a38f (patch) | |
tree | a95c2d254a3b51618341cdf7141926ba8b8459e1 /mail/component-factory.c | |
parent | 797efb77af574d71f523cc3324570db4f1f773c6 (diff) | |
download | gsoc2013-evolution-f41afabb336730bb1259c7a95b55c31416c1a38f.tar.gz gsoc2013-evolution-f41afabb336730bb1259c7a95b55c31416c1a38f.tar.zst gsoc2013-evolution-f41afabb336730bb1259c7a95b55c31416c1a38f.zip |
Check for errors
svn path=/trunk/; revision=13292
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 9cf5cf47e2..804829a491 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -847,10 +847,17 @@ component_factory_init (void) exit (1); } - /* FIXME these don't check for errors. */ + if (evolution_mail_config_factory_init () == FALSE) { + e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, + _("Cannot initialize Evolution's mail config component.")); + exit (1); + } - evolution_mail_config_factory_init (); - evolution_folder_info_factory_init (); + if (evolution_folder_info_factory_init () == FALSE) { + e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, + _("Cannot initialize Evolution's folder info component.")); + exit (1); + } } static void |