aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
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;
}