summaryrefslogtreecommitdiff
path: root/src/gpm-statistics.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-21 14:47:55 -0500
committerSteve Zesch <[email protected]>2012-11-21 14:47:55 -0500
commitf915c8482adab2076b25427517ec6166bb9209a2 (patch)
tree6466b41899bfc1422155f18949cc4bd60699957c /src/gpm-statistics.c
parentfa7700abefd3599c109891a454555298561da45e (diff)
parent5fdd6e52207bbf236e3888884cdd6a85c45ab4fd (diff)
downloadmate-power-manager-f915c8482adab2076b25427517ec6166bb9209a2.tar.bz2
mate-power-manager-f915c8482adab2076b25427517ec6166bb9209a2.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-power-manager
Diffstat (limited to 'src/gpm-statistics.c')
-rw-r--r--src/gpm-statistics.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 3284067..4813d1f 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1564,8 +1564,11 @@ main (int argc, char *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+#if GLIB_CHECK_VERSION(2,32,0)
+#else
if (! g_thread_supported ())
g_thread_init (NULL);
+#endif
dbus_g_thread_init ();
g_type_init ();