aboutsummaryrefslogtreecommitdiffstats
path: root/notes/main.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2002-05-16 00:19:25 +0800
committernobody <nobody@localhost>2002-05-16 00:19:25 +0800
commit3f567f3809741b6b846eb55c974d1ffc694753b8 (patch)
tree9a14849dd3a40bd1667b88d689e2aa7d58d08bce /notes/main.c
parent74f4231f4eb650f0243ff39ab5a085b1df4f7697 (diff)
downloadgsoc2013-evolution-3f567f3809741b6b846eb55c974d1ffc694753b8.tar.gz
gsoc2013-evolution-3f567f3809741b6b846eb55c974d1ffc694753b8.tar.zst
gsoc2013-evolution-3f567f3809741b6b846eb55c974d1ffc694753b8.zip
This commit was manufactured by cvs2svn to create tag 'GEDIT_2_0_4'.GEDIT_2_0_4
svn path=/tags/GEDIT_2_0_4/; revision=16835
Diffstat (limited to 'notes/main.c')
-rw-r--r--notes/main.c52
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;
-}