aboutsummaryrefslogtreecommitdiffstats
path: root/notes/main.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-06-07 21:54:51 +0800
committernobody <nobody@localhost>2001-06-07 21:54:51 +0800
commit86ac33df94879dfc27d7aa899363976c4f0834b3 (patch)
treefe5dd735cfb0c28e8884e188fd02c9f3beea17c6 /notes/main.c
parent1576914644c6a83c6d2429c79c357c72b07906d0 (diff)
downloadgsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar.gz
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar.bz2
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar.lz
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar.xz
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.tar.zst
gsoc2013-evolution-86ac33df94879dfc27d7aa899363976c4f0834b3.zip
This commit was manufactured by cvs2svn to create tagGNOME_MEDIA_1_2_3
'GNOME_MEDIA_1_2_3'. svn path=/tags/GNOME_MEDIA_1_2_3/; revision=10145
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 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;
-}