aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 8ba2a9836f..4aa6425b86 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -30,6 +30,8 @@
#include <glib-unix.h>
#endif
+#include <dbus/dbus-glib.h>
+
#if HAVE_CLUTTER
#include <clutter-gtk/clutter-gtk.h>
#include <mx/mx.h>
@@ -497,6 +499,9 @@ main (gint argc,
g_type_init ();
+ /* this is to initialize threading for dbus-glib used by GConf */
+ dbus_g_thread_init ();
+
/* do not require Gtk+ for --force-shutdown */
if (argc == 2 && argv[1] && g_str_equal (argv[1], "--force-shutdown")) {
shell_force_shutdown ();