aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-29 02:30:06 +0800
committerDan Winship <danw@src.gnome.org>2000-06-29 02:30:06 +0800
commitb3fd58b848852b4c7defa484859c60a8bf232562 (patch)
tree1931971a126edcc1eb6da35f23ff120eb2bd091a /mail/main.c
parent66814218ac6136e798ddf83908da8df94c894824 (diff)
downloadgsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar.gz
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar.bz2
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar.lz
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar.xz
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.tar.zst
gsoc2013-evolution-b3fd58b848852b4c7defa484859c60a8bf232562.zip
Call od_assert_using_oaf() or od_assert_using_goad() as appropriate to
* main.c (init_corba): Call od_assert_using_oaf() or od_assert_using_goad() as appropriate to make sure people didn't someone trick the build system. svn path=/trunk/; revision=3776
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/main.c b/mail/main.c
index d085fc879f..5457f8133d 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -1,5 +1,5 @@
/*
- * mail-component.c: The core of the mail component
+ * main.c: The core of the mail component
*
* Author:
* Miguel de Icaza (miguel@helixcode.com)
@@ -10,6 +10,7 @@
#include <config.h>
#include <gnome.h>
#include <bonobo/bonobo-main.h>
+#include <bonobo/bonobo-object-directory.h>
#include <glade/glade.h>
#include "e-util/e-gui-utils.h"
@@ -25,8 +26,9 @@
static void
init_corba (int *argc, char *argv [])
{
- gnome_init_with_popt_table ("evolution-mail-component", VERSION, *argc, argv,
- oaf_popt_options, 0, NULL);
+ od_assert_using_oaf ();
+ gnome_init_with_popt_table ("evolution-mail-component", VERSION,
+ *argc, argv, oaf_popt_options, 0, NULL);
oaf_init (*argc, argv);
}
@@ -38,7 +40,8 @@ static void
init_corba (int *argc, char *argv [])
{
CORBA_Environment ev;
-
+
+ od_assert_using_goad ();
CORBA_exception_init (&ev);
gnome_CORBA_init_with_popt_table (