diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/Makefile.am | 2 | ||||
-rw-r--r-- | shell/main.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am index ca722fc00b..3ebf5dcfb1 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -62,6 +62,7 @@ libeshell_la_CPPFLAGS = \ $(GNOME_PLATFORM_CFLAGS) \ $(EGG_SMCLIENT_CFLAGS) \ $(GTKHTML_CFLAGS) \ + $(DBUS_GLIB_CFLAGS) \ $(CLUTTER_CFLAGS) libeshell_la_SOURCES = \ @@ -100,6 +101,7 @@ libeshell_la_LIBADD = \ $(EVOLUTION_DATA_SERVER_LIBS) \ $(GNOME_PLATFORM_LIBS) \ $(EGG_SMCLIENT_LIBS) \ + $(DBUS_GLIB_LIBS) \ $(CLUTTER_LIBS) # Evolution executable 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 (); |