aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-02-28 12:37:07 -0600
committerCharles Kerr <charles.kerr@canonical.com>2015-02-28 12:37:07 -0600
commit90f2f52171c4bd9a2e0e7c00202bfa29ab056dad (patch)
tree30ff9bb35c40b9a06fdfe8e7fdb29ce30fa053f9 /src/main.cpp
parent595becf89dd3e604f0c1a79b92ee8e1286f19d90 (diff)
downloadayatana-indicator-datetime-90f2f52171c4bd9a2e0e7c00202bfa29ab056dad.tar.gz
ayatana-indicator-datetime-90f2f52171c4bd9a2e0e7c00202bfa29ab056dad.tar.bz2
ayatana-indicator-datetime-90f2f52171c4bd9a2e0e7c00202bfa29ab056dad.zip
prevent deadlocking when registering G_TYPE_DBUS_PROXY
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 85a414f..9aa502c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -118,9 +118,9 @@ namespace
int
main(int /*argc*/, char** /*argv*/)
{
- // 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);
+ // These can be removed when https://bugzilla.gnome.org/show_bug.cgi?id=674885 is fixed
+ g_type_ensure(G_TYPE_DBUS_CONNECTION); // http://pad.lv/1239710
+ g_type_ensure(G_TYPE_DBUS_PROXY); // http://pad.lv/1425297
// boilerplate i18n
setlocale(LC_ALL, "");