diff options
author | Milan Crha <mcrha@redhat.com> | 2012-03-16 23:17:27 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-03-16 23:17:27 +0800 |
commit | ea6e3bd0d5b1f4aadb71719d96ec9c88c8520ac9 (patch) | |
tree | 89134d1f924a3a523d7e52a8efb4e360fd96edec /shell/main.c | |
parent | 60f3e852e7246e3107b80cfa72a76e0c50753ede (diff) | |
download | gsoc2013-evolution-ea6e3bd0d5b1f4aadb71719d96ec9c88c8520ac9.tar.gz gsoc2013-evolution-ea6e3bd0d5b1f4aadb71719d96ec9c88c8520ac9.tar.zst gsoc2013-evolution-ea6e3bd0d5b1f4aadb71719d96ec9c88c8520ac9.zip |
Bug #659756 - Initialize dbus-glib threading for GConf
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 5 |
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 (); |