diff options
author | Steve Zesch <[email protected]> | 2012-11-21 14:47:55 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-21 14:47:55 -0500 |
commit | f915c8482adab2076b25427517ec6166bb9209a2 (patch) | |
tree | 6466b41899bfc1422155f18949cc4bd60699957c /src/gpm-statistics.c | |
parent | fa7700abefd3599c109891a454555298561da45e (diff) | |
parent | 5fdd6e52207bbf236e3888884cdd6a85c45ab4fd (diff) | |
download | mate-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.c | 3 |
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 (); |