From b3fd58b848852b4c7defa484859c60a8bf232562 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 28 Jun 2000 18:30:06 +0000 Subject: 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 --- mail/ChangeLog | 7 ++++++- mail/main.c | 11 +++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index f705d7e395..3e7c9a1f69 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-06-28 Dan Winship + + * 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. + 2000-06-28 Jeffrey Stedfast * message-list.c: Added prototype for filter_date to make @@ -194,7 +200,6 @@ UI-friendly name. (dispatch_func): Free the saved prettyname. ->>>>>>> 1.221 2000-06-21 Christopher James Lahey * message-list.c: Removed an erroneous comment. 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 #include #include +#include #include #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 ( -- cgit v1.2.3