diff options
author | nobody <nobody@localhost> | 2001-04-16 17:30:54 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-04-16 17:30:54 +0800 |
commit | 6e405ff38c1cc0715c5e14989c946a5f4f1249f7 (patch) | |
tree | aaa46c1cf6c9a87e8f291ef7673bd9463803e8c9 /notes/main.c | |
parent | 75a16468d369f58587f27ab4655fbe1c1091fc95 (diff) | |
download | gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar.gz gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar.bz2 gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar.lz gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar.xz gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.tar.zst gsoc2013-evolution-6e405ff38c1cc0715c5e14989c946a5f4f1249f7.zip |
This commit was manufactured by cvs2svn to create tagradioactive-1_2_1
'radioactive-1_2_1'.
svn path=/tags/radioactive-1_2_1/; revision=9372
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 f3198c0d63..0000000000 --- a/notes/main.c +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Author: - * Anders Carlsson (andersca@gnu.org) - * - * (C) 2000 Helix Code, 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; -} |