From 67aa56b764ee6c5f8a3b3a9289b0c61eab6358ad Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sat, 26 Aug 2000 06:11:48 +0000 Subject: Die gnorba die. 2000-08-26 JP Rosevear Die gnorba die. * gui/component/addressbook-component.c: Remove gnorba stuff * gui/minicard/e-minicard-control.c (e_minicard_control_factory_init): ditto * gui/component/addressbook.c: ditto * gui/component/addressbook-factory.c: ditto svn path=/trunk/; revision=5053 --- addressbook/gui/component/addressbook-component.c | 5 +---- addressbook/gui/component/addressbook-factory.c | 24 +---------------------- addressbook/gui/component/addressbook.c | 4 ---- addressbook/gui/minicard/e-minicard-control.c | 7 ------- addressbook/gui/widgets/e-minicard-control.c | 7 ------- 5 files changed, 2 insertions(+), 45 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 4a73821630..5b52b8337b 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -35,11 +35,8 @@ #include "e-ldap-storage.h" -#ifdef USING_OAF + #define COMPONENT_FACTORY_ID "OAFIID:evolution-shell-component-factory:addressbook:dbf3bba0-4b0a-4f07-899b-1ec56fdf38a0" -#else -#define COMPONENT_FACTORY_ID "evolution-shell-component-factory:addressbook" -#endif /* Nasty hack for filters to be able to find folders */ /* Not even used with addressbook??? */ diff --git a/addressbook/gui/component/addressbook-factory.c b/addressbook/gui/component/addressbook-factory.c index 7b939318fb..9ee420e851 100644 --- a/addressbook/gui/component/addressbook-factory.c +++ b/addressbook/gui/component/addressbook-factory.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -19,9 +20,6 @@ #include "addressbook/gui/minicard/e-minicard-control.h" #include "select-names/e-select-names-factory.h" -#ifdef USING_OAF - -#include static void init_corba (int *argc, char **argv) @@ -32,26 +30,6 @@ init_corba (int *argc, char **argv) oaf_init (*argc, argv); } -#else - -#include - -static void -init_corba (int *argc, char **argv) -{ - CORBA_Environment ev; - - CORBA_exception_init (&ev); - - gnome_CORBA_init_with_popt_table ( - "evolution-addressbook", "0.0", - argc, argv, NULL, 0, NULL, GNORBA_INIT_SERVER_FUNC, &ev); - - CORBA_exception_free (&ev); -} - -#endif - static void init_bonobo (int argc, char **argv) { diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 12f9dbf9e0..54ae5bcdad 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -41,11 +41,7 @@ #include -#ifdef USING_OAF #define CONTROL_FACTORY_ID "OAFIID:control-factory:addressbook:3e10597b-0591-4d45-b082-d781b7aa6e17" -#else -#define CONTROL_FACTORY_ID "control-factory:addressbook" -#endif #define PROPERTY_FOLDER_URI "folder_uri" diff --git a/addressbook/gui/minicard/e-minicard-control.c b/addressbook/gui/minicard/e-minicard-control.c index d6dd70656d..a5d2038a8a 100644 --- a/addressbook/gui/minicard/e-minicard-control.c +++ b/addressbook/gui/minicard/e-minicard-control.c @@ -321,17 +321,10 @@ e_minicard_control_factory_init (void) if (factory != NULL) return; -#if USING_OAF factory = bonobo_generic_factory_new ( "OAFIID:control-factory:e_minicard:16bb7c25-c7d2-46dc-a5f0-a0975d0e0595", e_minicard_control_factory, NULL); -#else - factory = - bonobo_generic_factory_new ( - "control-factory:e-minicard", - e_minicard_control_factory, NULL); -#endif if (factory == NULL) g_error ("I could not register a EMinicard control factory."); diff --git a/addressbook/gui/widgets/e-minicard-control.c b/addressbook/gui/widgets/e-minicard-control.c index d6dd70656d..a5d2038a8a 100644 --- a/addressbook/gui/widgets/e-minicard-control.c +++ b/addressbook/gui/widgets/e-minicard-control.c @@ -321,17 +321,10 @@ e_minicard_control_factory_init (void) if (factory != NULL) return; -#if USING_OAF factory = bonobo_generic_factory_new ( "OAFIID:control-factory:e_minicard:16bb7c25-c7d2-46dc-a5f0-a0975d0e0595", e_minicard_control_factory, NULL); -#else - factory = - bonobo_generic_factory_new ( - "control-factory:e-minicard", - e_minicard_control_factory, NULL); -#endif if (factory == NULL) g_error ("I could not register a EMinicard control factory."); -- cgit v1.2.3