summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-05 17:49:37 +0200
committerinfirit <[email protected]>2014-06-05 17:49:37 +0200
commit8f4c0dc965bdd8b8a083ec991dc49d443d829236 (patch)
treec07d6919ad0722bb9d748ac36eedbbf20ee88937
parentb157933ed5e6b231e5d4062b2c5213e6bf7e4246 (diff)
downloadlibmateweather-8f4c0dc965bdd8b8a083ec991dc49d443d829236.tar.bz2
libmateweather-8f4c0dc965bdd8b8a083ec991dc49d443d829236.tar.xz
Drop support for Glib < 2.36
-rw-r--r--configure.ac2
-rw-r--r--python/mateweathermodule.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2ab9d9b..d076aa0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ case "$with_gtk" in
esac
AC_SUBST(GTK_API_VERSION)
-GLIB_REQUIRED=2.13.0
+GLIB_REQUIRED=2.36.0
LIBSOUP_REQUIRED=2.34.0
GIO_REQUIRED=2.25.0
LIBXML_REQUIRED=2.6.0
diff --git a/python/mateweathermodule.c b/python/mateweathermodule.c
index 63691f8..67ee89e 100644
--- a/python/mateweathermodule.c
+++ b/python/mateweathermodule.c
@@ -36,9 +36,6 @@ initmateweather(void)
PyObject *m, *d;
init_pygobject ();
-#if !GLIB_CHECK_VERSION (2, 32, 0)
- g_thread_init (NULL);
-#endif
m = Py_InitModule ("mateweather", pymateweather_functions);
d = PyModule_GetDict (m);