diff options
author | Milan Crha <mcrha@redhat.com> | 2009-09-10 18:12:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-09-10 18:14:13 +0800 |
commit | 3f00bdbfcb0bb2376c8b132744e3cdeacd9b3abe (patch) | |
tree | 111c22fc16614368ec8da8585ed3fa4d1e9562ac /shell | |
parent | 1b1ca26a24330b601aa8469cdb5ec6eadaf8bd6a (diff) | |
download | gsoc2013-evolution-3f00bdbfcb0bb2376c8b132744e3cdeacd9b3abe.tar.gz gsoc2013-evolution-3f00bdbfcb0bb2376c8b132744e3cdeacd9b3abe.tar.zst gsoc2013-evolution-3f00bdbfcb0bb2376c8b132744e3cdeacd9b3abe.zip |
Bug #590707 - Initialize DBus threading on start
Diffstat (limited to 'shell')
-rw-r--r-- | shell/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c index eadb348d6b..9f3070dcaa 100644 --- a/shell/main.c +++ b/shell/main.c @@ -26,6 +26,8 @@ #include <gdk/gdkx.h> /* for copied UniqueApp code */ #include <glib/gstdio.h> +#include <dbus/dbus-glib.h> + #ifdef G_OS_WIN32 #define WIN32_LEAN_AND_MEAN #ifdef DATADIR @@ -497,6 +499,10 @@ main (gint argc, gchar **argv) exit (1); } + g_type_init (); + g_thread_init (NULL); + dbus_g_thread_init (); + #ifdef G_OS_WIN32 if (strcmp (gettext (""), "") == 0) { /* No message catalog installed for the current locale language, |