diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-08-26 14:11:48 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-08-26 14:11:48 +0800 |
commit | 67aa56b764ee6c5f8a3b3a9289b0c61eab6358ad (patch) | |
tree | 29e6edc15f732f79f4b7b2b1d116bb2ea4daf272 /addressbook/gui/component | |
parent | 657730b85aa426f2423dc4223b7646b13456e4cb (diff) | |
download | gsoc2013-evolution-67aa56b764ee6c5f8a3b3a9289b0c61eab6358ad.tar.gz gsoc2013-evolution-67aa56b764ee6c5f8a3b3a9289b0c61eab6358ad.tar.zst gsoc2013-evolution-67aa56b764ee6c5f8a3b3a9289b0c61eab6358ad.zip |
Die gnorba die.
2000-08-26 JP Rosevear <jpr@helixcode.com>
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
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 5 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-factory.c | 24 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 4 |
3 files changed, 2 insertions, 31 deletions
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 <config.h> #include <gnome.h> #include <bonobo.h> +#include <liboaf/liboaf.h> #include <glade/glade.h> #include <e-util/e-cursors.h> @@ -19,9 +20,6 @@ #include "addressbook/gui/minicard/e-minicard-control.h" #include "select-names/e-select-names-factory.h" -#ifdef USING_OAF - -#include <liboaf/liboaf.h> static void init_corba (int *argc, char **argv) @@ -32,26 +30,6 @@ init_corba (int *argc, char **argv) oaf_init (*argc, argv); } -#else - -#include <libgnorba/gnorba.h> - -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 <addressbook/printing/e-contact-print.h> -#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" |