diff options
author | Not Zed <NotZed@Ximian.com> | 2003-03-10 12:27:35 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-03-10 12:27:35 +0800 |
commit | bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc (patch) | |
tree | 8e14b68515e62c3069dbb69c84f11df4f4898133 /mail/component-factory.c | |
parent | 67974fa1e0c1d8702508c8ce601c03db22c4399c (diff) | |
download | gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar.gz gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar.bz2 gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar.lz gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar.xz gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.tar.zst gsoc2013-evolution-bc78d367b0f55fa2a3090cc32df91a5c91c5d9cc.zip |
removed main.c from the build.
2003-03-10 Not Zed <NotZed@Ximian.com>
* Makefile.am (libevolution_mail_la_SOURCES): removed main.c from
the build.
* component-factory.c (component_factory_init): Remove, not used
anymore, causes linking problems some places.
(factory): Removed the debug printf.
svn path=/trunk/; revision=20226
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 98671807ca..854d57d682 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -1085,36 +1085,6 @@ create_component (void) return BONOBO_OBJECT (shell_component); } -void -component_factory_init (void) -{ - BonoboObject *shell_component; - int result; - - shell_component = create_component (); - result = bonobo_activation_active_server_register (COMPONENT_ID, bonobo_object_corba_objref (shell_component)); - if (result == Bonobo_ACTIVATION_REG_ERROR) { - e_notice (NULL, GTK_MESSAGE_ERROR, - _("Cannot initialize the Evolution mail component.")); - exit (1); - } else if (result == Bonobo_ACTIVATION_REG_ALREADY_ACTIVE) { - g_warning ("evolution-mail is already running"); - exit (1); - } - - if (evolution_mail_config_factory_init () == FALSE) { - e_notice (NULL, GTK_MESSAGE_ERROR, - _("Cannot initialize Evolution's mail config component.")); - exit (1); - } - - if (evolution_folder_info_factory_init () == FALSE) { - e_notice (NULL, GTK_MESSAGE_ERROR, - _("Cannot initialize Evolution's folder info component.")); - exit (1); - } -} - static void notify_listener (const Bonobo_Listener listener, GNOME_Evolution_Storage_Result corba_result) @@ -1622,8 +1592,6 @@ factory (BonoboGenericFactory *factory, const char *component_id, void *closure) { - printf("Activating component '%s'\n", component_id); - if (strcmp (component_id, COMPONENT_ID) == 0) return create_component(); else if (strcmp(component_id, MAIL_CONFIG_IID) == 0) |