Merge lp:~larsu/indicator-datetime/glib-deadlock-workaround into lp:~indicator-applet-developers/indicator-datetime/trunk.13.10

Proposed by Lars Karlitski
Status: Merged
Approved by: Ted Gould
Approved revision: 278
Merged at revision: 278
Proposed branch: lp:~larsu/indicator-datetime/glib-deadlock-workaround
Merge into: lp:~indicator-applet-developers/indicator-datetime/trunk.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-datetime/glib-deadlock-workaround
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+191622@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-10-16 22:14:11 +0000
+++ src/main.c 2013-10-17 12:45:20 +0000
@@ -60,6 +60,12 @@
60 IndicatorDatetimeService * service;60 IndicatorDatetimeService * service;
61 GMainLoop * loop;61 GMainLoop * loop;
6262
63 /* Work around a deadlock in glib's type initialization. It can be
64 * removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is
65 * fixed.
66 */
67 g_type_ensure (G_TYPE_DBUS_CONNECTION);
68
63 /* boilerplate i18n */69 /* boilerplate i18n */
64 setlocale (LC_ALL, "");70 setlocale (LC_ALL, "");
65 bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);71 bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);

Subscribers

People subscribed via source and target branches