aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/alarm-notify/notify-main.c4
-rw-r--r--shell/main.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index b1775d8d23..a6d9d53fc5 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -30,6 +30,8 @@
#include <stdlib.h>
#include <glib/gi18n.h>
+#include <libedataserver/e-gdbus-templates.h>
+
#include "alarm-notify.h"
#ifdef G_OS_WIN32
@@ -82,6 +84,8 @@ main (gint argc,
gtk_init (&argc, &argv);
+ e_gdbus_templates_init_main_thread ();
+
#ifdef G_OS_WIN32
path = g_build_path (";", _e_get_bindir (), g_getenv ("PATH"), NULL);
diff --git a/shell/main.c b/shell/main.c
index 4599b410cd..6da0745391 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -59,6 +59,7 @@
#include <libxml/tree.h>
#include <libedataserver/e-categories.h>
+#include <libedataserver/e-gdbus-templates.h>
#include <libedataserverui/e-passwords.h>
#include "e-shell.h"
@@ -524,6 +525,8 @@ main (gint argc,
ical_set_unknown_token_handling_setting (ICAL_DISCARD_TOKEN);
#endif
+ e_gdbus_templates_init_main_thread ();
+
#ifdef G_OS_WIN32
path = g_build_path (";", _e_get_bindir (), g_getenv ("PATH"), NULL);