diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-25 09:16:38 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-25 09:16:38 +0800 |
commit | dbf077d9dd938f2aeccf6d907e5d87e106a92739 (patch) | |
tree | def6aa8ce0d739b81c19256163a80ed543365eb3 /shell/main.c | |
parent | b4fa8e15a8014442a0a21cc121cedda16cdc272a (diff) | |
download | gsoc2013-evolution-dbf077d9dd938f2aeccf6d907e5d87e106a92739.tar.gz gsoc2013-evolution-dbf077d9dd938f2aeccf6d907e5d87e106a92739.tar.zst gsoc2013-evolution-dbf077d9dd938f2aeccf6d907e5d87e106a92739.zip |
Remove GOAD support.
* e-shell.c, main.c: Remove GOAD support.
* evolution-shell-component-client.c: Remove GOAD support.
(evolution_shell_component_client_new): Give the "maybe
OAF_INFO_PATH" message if no oafinfo file was found, and give a
"consult previous error messages" message if the component was
found but not activated. Abort in either case.
svn path=/trunk/; revision=4299
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/shell/main.c b/shell/main.c index e614a7ce83..cdad9f76c9 100644 --- a/shell/main.c +++ b/shell/main.c @@ -26,6 +26,7 @@ #include <bonobo.h> #include <libgnomeui/gnome-window-icon.h> #include <glade/glade.h> +#include <liboaf/liboaf.h> #include "e-util/e-gui-utils.h" #include "e-setup.h" @@ -49,41 +50,6 @@ destroy_cb (GtkObject *object, gpointer data) gtk_main_quit (); } -#ifdef USING_OAF - -#include <liboaf/liboaf.h> - -static void -init_corba (int *argc, char **argv) -{ - gnome_init_with_popt_table ("Evolution", VERSION, *argc, argv, oaf_popt_options, 0, NULL); - - oaf_init (*argc, argv); -} - -#else /* USING_OAF */ - -#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", VERSION, argc, argv, - NULL, 0, NULL, - GNORBA_INIT_SERVER_FUNC, &ev); - - if (ev._major != CORBA_NO_EXCEPTION) - g_error ("Cannot initialize GNOME"); - - CORBA_exception_free (&ev); -} - -#endif /* USING_OAF */ - static void development_warning () { @@ -184,7 +150,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR); textdomain (PACKAGE); - init_corba (&argc, argv); + gnome_init_with_popt_table ("Evolution", VERSION, argc, argv, oaf_popt_options, 0, NULL); + oaf_init (argc, argv); glade_gnome_init (); |