Merge lp:~larsu/indicator-session/glib-deadlock-workaround into lp:indicator-session/13.10

Proposed by Lars Karlitski
Status: Merged
Approved by: Ted Gould
Approved revision: 416
Merged at revision: 416
Proposed branch: lp:~larsu/indicator-session/glib-deadlock-workaround
Merge into: lp:indicator-session/13.10
Diff against target: 16 lines (+6/-0)
1 file modified
src/main.c (+6/-0)
To merge this branch: bzr merge lp:~larsu/indicator-session/glib-deadlock-workaround
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+191621@code.launchpad.net

Description of the change

Work around glib's type initialization deadlock.

https://bugzilla.gnome.org/show_bug.cgi?id=674885

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/main.c'
--- src/main.c 2013-07-02 01:55:54 +0000
+++ src/main.c 2013-10-17 12:45:16 +0000
@@ -43,6 +43,12 @@
43 GMainLoop * loop;43 GMainLoop * loop;
44 IndicatorSessionService * service;44 IndicatorSessionService * service;
4545
46 /* Work around a deadlock in glib's type initialization. It can be
47 * removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is
48 * fixed.
49 */
50 g_type_ensure (G_TYPE_DBUS_CONNECTION);
51
46 /* boilerplate i18n */52 /* boilerplate i18n */
47 setlocale (LC_ALL, "");53 setlocale (LC_ALL, "");
48 bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);54 bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);

Subscribers

People subscribed via source and target branches