aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-12-17 03:07:06 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-12-17 03:07:06 +0800
commit11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3 (patch)
tree8065a3e60bd1aaf352ed37f5266f85e0aa8c7778 /calendar/gui
parent539122e98b4d340d8b169da8757b5790af548aba (diff)
downloadgsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar.gz
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar.bz2
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar.lz
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar.xz
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.tar.zst
gsoc2013-evolution-11b4c8654dd37c55ce2e61c5dad3dab6c0d13ba3.zip
return a reference to the alarm_notify_service, not NULL and ref the
2003-12-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return a reference to the alarm_notify_service, not NULL and ref the object before returning it. svn path=/trunk/; revision=23949
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/notify-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index 01cf3b3a53..9c9af7c62d 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -103,7 +103,9 @@ alarm_notify_factory_fn (BonoboGenericFactory *factory, const char *component_id
g_assert (alarm_notify_service != NULL);
}
- return alarm_notify_service;
+ bonobo_object_ref (BONOBO_OBJECT (alarm_notify_service));
+
+ return BONOBO_OBJECT (alarm_notify_service);
}
/* Loads the calendars that the alarm daemon has been told to load in the past */