aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-10-02 07:43:29 +0800
committerIain Holmes <iain@src.gnome.org>2001-10-02 07:43:29 +0800
commitf41afabb336730bb1259c7a95b55c31416c1a38f (patch)
treea95c2d254a3b51618341cdf7141926ba8b8459e1 /mail/mail-config.c
parent797efb77af574d71f523cc3324570db4f1f773c6 (diff)
downloadgsoc2013-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/mail-config.c')
-rw-r--r--mail/mail-config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index e3240e8aac..17a3a25550 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -2071,12 +2071,11 @@ evolution_mail_config_factory_fn (BonoboGenericFactory *factory,
{
EvolutionMailConfig *config;
- g_warning ("Made");
config = gtk_type_new (evolution_mail_config_get_type ());
return BONOBO_OBJECT (config);
}
-void
+gboolean
evolution_mail_config_factory_init (void)
{
BonoboGenericFactory *factory;
@@ -2086,7 +2085,9 @@ evolution_mail_config_factory_init (void)
NULL);
if (factory == NULL) {
g_warning ("Error starting MailConfig");
+ return FALSE;
}
bonobo_running_context_auto_exit_unref (BONOBO_OBJECT (factory));
+ return TRUE;
}