aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/main.c6
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,