diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-11-05 16:16:06 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-11-05 16:16:06 +0000 |
commit | 4af45b95b38c9fee98ddcfdf616fb8cda3e31823 (patch) | |
tree | 2edbe2350c75af280874e66b97eedab1666c384d | |
parent | eb291a003c77b0ecb1c4a18077142db3bc5006a6 (diff) | |
parent | a308b072dbc8025ae9ef7a7790f602e42e3db550 (diff) | |
download | ayatana-indicator-session-4af45b95b38c9fee98ddcfdf616fb8cda3e31823.tar.gz ayatana-indicator-session-4af45b95b38c9fee98ddcfdf616fb8cda3e31823.tar.bz2 ayatana-indicator-session-4af45b95b38c9fee98ddcfdf616fb8cda3e31823.zip |
Work around glib's type initialization deadlock.
Approved by Ted Gould, PS Jenkins bot.
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,12 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) GMainLoop * loop; IndicatorSessionService * service; + /* Work around a deadlock in glib's type initialization. It can be + * removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is + * fixed. + */ + g_type_ensure (G_TYPE_DBUS_CONNECTION); + /* boilerplate i18n */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); |