summaryrefslogtreecommitdiff
path: root/python/mateweathermodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/mateweathermodule.c')
-rw-r--r--python/mateweathermodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/mateweathermodule.c b/python/mateweathermodule.c
index 5bd2775..63691f8 100644
--- a/python/mateweathermodule.c
+++ b/python/mateweathermodule.c
@@ -36,9 +36,7 @@ initmateweather(void)
PyObject *m, *d;
init_pygobject ();
-#if GLIB_CHECK_VERSION (2, 32, 0)
- /* g_thread_init (NULL); */
-#else
+#if !GLIB_CHECK_VERSION (2, 32, 0)
g_thread_init (NULL);
#endif