aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config-factory.c')
-rw-r--r--mail/mail-config-factory.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c
index 641dced5d1..c16f70c3ee 100644
--- a/mail/mail-config-factory.c
+++ b/mail/mail-config-factory.c
@@ -62,7 +62,7 @@ config_control_apply_cb (EvolutionConfigControl *config_control, void *user_data
data->apply (data->prefs);
}
-static BonoboObject *
+BonoboObject *
config_control_factory_cb (BonoboGenericFactory *factory, const char *component_id, void *user_data)
{
GNOME_Evolution_Shell shell = (GNOME_Evolution_Shell) user_data;
@@ -120,20 +120,3 @@ config_control_factory_cb (BonoboGenericFactory *factory, const char *component_
return BONOBO_OBJECT (control);
}
-
-gboolean
-mail_config_register_factory (GNOME_Evolution_Shell shell)
-{
- g_return_val_if_fail (shell != CORBA_OBJECT_NIL, FALSE);
-
- factory = bonobo_generic_factory_new (CONFIG_CONTROL_FACTORY_ID,
- config_control_factory_cb,
- shell);
-
- if (factory != NULL) {
- return TRUE;
- } else {
- g_warning ("Cannot register factory %s", CONFIG_CONTROL_FACTORY_ID);
- return FALSE;
- }
-}