From 3f00bdbfcb0bb2376c8b132744e3cdeacd9b3abe Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 10 Sep 2009 12:12:36 +0200 Subject: Bug #590707 - Initialize DBus threading on start --- shell/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shell') 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 /* for copied UniqueApp code */ #include +#include + #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, -- cgit