diff options
author | Milan Crha <mcrha@redhat.com> | 2011-11-07 17:26:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-11-07 17:26:36 +0800 |
commit | 67942d5a17374287bccb4914541e4aeef8c3c85c (patch) | |
tree | dfd1fd6e741901a965c995180b4c727a57471655 | |
parent | bed7c0f05a4b4d60d35fd5e8ca1ade1e8225aae2 (diff) | |
download | gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar.gz gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar.bz2 gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar.lz gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar.xz gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.tar.zst gsoc2013-evolution-67942d5a17374287bccb4914541e4aeef8c3c85c.zip |
Call e_gdbus_templates_init_main_thread() in main()
-rw-r--r-- | calendar/gui/alarm-notify/notify-main.c | 4 | ||||
-rw-r--r-- | shell/main.c | 3 |
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); |