Merge lp:~charlesk/indicator-datetime/lp-1425297-prevent-gdbusproxy-type-init-deadlock-rtm-14.09 into lp:indicator-datetime/rtm-14.09

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 397
Merged at revision: 399
Proposed branch: lp:~charlesk/indicator-datetime/lp-1425297-prevent-gdbusproxy-type-init-deadlock-rtm-14.09
Merge into: lp:indicator-datetime/rtm-14.09
Diff against target: 16 lines (+3/-3)
1 file modified
src/main.cpp (+3/-3)
To merge this branch: bzr merge lp:~charlesk/indicator-datetime/lp-1425297-prevent-gdbusproxy-type-init-deadlock-rtm-14.09
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+251372@code.launchpad.net

Commit message

Work around glib's type initialization deadlock.

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

Description of the change

rtm-14.09 MP of GDBusProxy deadlock fix.

Diff and change description are identical to the trunk MP at https://code.launchpad.net/~charlesk/indicator-datetime/lp-1425297-prevent-gdbusproxy-type-init-deadlock-trunk-15.04/+merge/251371

To post a comment you must log in.
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.cpp'
--- src/main.cpp 2014-12-08 02:52:50 +0000
+++ src/main.cpp 2015-02-28 18:58:35 +0000
@@ -117,9 +117,9 @@
117int117int
118main(int /*argc*/, char** /*argv*/)118main(int /*argc*/, char** /*argv*/)
119{119{
120 // Work around a deadlock in glib's type initialization.120 // These can be removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is fixed
121 // It can be removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is fixed.121 g_type_ensure(G_TYPE_DBUS_CONNECTION); // http://pad.lv/1239710
122 g_type_ensure(G_TYPE_DBUS_CONNECTION);122 g_type_ensure(G_TYPE_DBUS_PROXY); // http://pad.lv/1425297
123123
124 // boilerplate i18n124 // boilerplate i18n
125 setlocale(LC_ALL, "");125 setlocale(LC_ALL, "");

Subscribers

People subscribed via source and target branches