aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/notify-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/alarm-notify/notify-main.c')
-rw-r--r--calendar/gui/alarm-notify/notify-main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index 1032f5b42b..b6f60222b5 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -44,6 +44,7 @@
#include "alarm-queue.h"
#include "alarm-notify.h"
#include "config-data.h"
+#include <camel/camel-object.h>
@@ -153,6 +154,11 @@ main (int argc, char **argv)
g_idle_add ((GSourceFunc) init_alarm_service, NULL);
+ /* FIXME Ideally we should not use camel libraries in calendar, though it is the case
+ currently for attachments. Remove this once that is fixed.
+ Initialise global camel_object_type */
+ camel_object_get_type();
+
bonobo_main ();
bonobo_object_unref (BONOBO_OBJECT (factory));