diff options
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r-- | calendar/gui/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 5c7a2bc08f..b74b1040cd 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -34,7 +34,6 @@ #include <liboaf/liboaf.h> #include <bonobo/bonobo-main.h> #include <bonobo/bonobo-generic-factory.h> -#include <bonobo/bonobo-exception.h> #include <gal/widgets/e-cursors.h> @@ -104,7 +103,7 @@ launch_alarm_daemon (void) CORBA_exception_init (&ev); an = oaf_activate_from_id ("OAFIID:GNOME_Evolution_Calendar_AlarmNotify", 0, NULL, &ev); - if (BONOBO_EX (&ev)) { + if (ev._major != CORBA_NO_EXCEPTION) { g_message ("add_alarms(): Could not activate the alarm notification service"); CORBA_exception_free (&ev); return; @@ -115,7 +114,7 @@ launch_alarm_daemon (void) CORBA_exception_init (&ev); bonobo_object_release_unref (an, &ev); - if (BONOBO_EX (&ev)) + if (ev._major != CORBA_NO_EXCEPTION) g_message ("add_alarms(): Could not unref the alarm notification service"); CORBA_exception_free (&ev); |