diff options
author | nobody <nobody@localhost> | 2002-02-11 05:10:16 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2002-02-11 05:10:16 +0800 |
commit | f594b6a3e883f35d7c3191b5b5b3e724ea5e5817 (patch) | |
tree | 2c681b46c6ec4a4ab7326e55b588d9758e0dd363 /notes/main.c | |
parent | cfc4826ef837954667ec18d9df72786e73ff1e25 (diff) | |
download | gsoc2013-evolution-ANJUTA_0_1_9_STABLE.tar.gz gsoc2013-evolution-ANJUTA_0_1_9_STABLE.tar.zst gsoc2013-evolution-ANJUTA_0_1_9_STABLE.zip |
This commit was manufactured by cvs2svn to create tagANJUTA_0_1_9_STABLE
'ANJUTA_0_1_9_STABLE'.
svn path=/tags/ANJUTA_0_1_9_STABLE/; revision=15641
Diffstat (limited to 'notes/main.c')
-rw-r--r-- | notes/main.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/notes/main.c b/notes/main.c deleted file mode 100644 index 148b9a409d..0000000000 --- a/notes/main.c +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Author: - * Anders Carlsson (andersca@gnu.org) - * - * (C) 2000 Ximian, Inc. - */ - -#include <config.h> -#include <gnome.h> -#include <bonobo.h> -#include <liboaf/liboaf.h> - -#include "e-util/e-gui-utils.h" -#include "component-factory.h" - -static void -init_corba (gint argc, gchar **argv) -{ - gnome_init_with_popt_table ("evolution-notes-component", VERSION, argc, argv, - oaf_popt_options, 0, NULL); - oaf_init (argc, argv); -} - -static void -init_bonobo (void) -{ - if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE) { - e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, - _("Notes Component: Could not initialize bonobo")); - exit (1); - } -} - -gint -main (gint argc, gchar **argv) -{ - bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR); - textdomain (PACKAGE); - - init_corba (argc, argv); - init_bonobo (); - - e_setup_base_dir (); - - notes_factory_init (); - component_factory_init (); - - bonobo_main (); - - return 0; -} |