From 29b6bd175af679d0a499011833130789030e18b5 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 26 Jul 2007 09:25:54 +0000 Subject: 2007-07-26 mcrha Fix for bug #273699 svn path=/trunk/; revision=33843 --- calendar/ChangeLog | 7 +++++++ calendar/gui/alarm-notify/notify-main.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 91c449497f..7927f63e94 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2007-07-26 Milan Crha + + ** Fix for bug #273699 + + * gui/alarm-notify/notify-main.c: (main): + Do g_warning instead of g_error when factory could not be created. + 2007-07-18 Hiroyuki Ikezoe * gui/cal-search-bar.c: (cal_search_bar_construct): Remove "/" as diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 4b7c563319..05c421fa71 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -149,8 +149,10 @@ main (int argc, char **argv) factory = bonobo_generic_factory_new ("OAFIID:GNOME_Evolution_Calendar_AlarmNotify_Factory:" BASE_VERSION, (BonoboFactoryCallback) alarm_notify_factory_fn, NULL); - if (!factory) - g_error (_("Could not create the alarm notify service factory")); + if (!factory) { + g_warning (_("Could not create the alarm notify service factory, maybe it's already running...")); + return 1; + } init_session (); -- cgit v1.2.3