diff options
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 |