From 539122e98b4d340d8b169da8757b5790af548aba Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 16 Dec 2003 18:56:50 +0000 Subject: return a reference to the alarm_notify_service, not NULL. 2003-12-16 Rodrigo Moya * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return a reference to the alarm_notify_service, not NULL. svn path=/trunk/; revision=23948 --- calendar/ChangeLog | 5 +++++ calendar/gui/alarm-notify/notify-main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a67f60578b..a835126447 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 Rodrigo Moya + + * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return + a reference to the alarm_notify_service, not NULL. + 2003-12-15 JP Rosevear * gui/gnome-cal.c (setup_widgets): set the list view config diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 6897d00857..01cf3b3a53 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -103,7 +103,7 @@ alarm_notify_factory_fn (BonoboGenericFactory *factory, const char *component_id g_assert (alarm_notify_service != NULL); } - return NULL; + return alarm_notify_service; } /* Loads the calendars that the alarm daemon has been told to load in the past */ -- cgit v1.2.3