aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
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 */