diff options
author | Stefano Karapetsas <[email protected]> | 2012-12-14 11:48:48 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-12-14 11:48:48 -0800 |
commit | ea58853d82d90357a36832ca1c62cefbfadc6154 (patch) | |
tree | 87865e39858e031dd3c32bb12f45cf8862f8bca1 /python/mateweathermodule.c | |
parent | 07ff67922a68f69f64e89c8997add9976ed419d2 (diff) | |
parent | 032377291f83cba3d0ab0eed7665cb2f5df0d2bd (diff) | |
download | libmateweather-ea58853d82d90357a36832ca1c62cefbfadc6154.tar.bz2 libmateweather-ea58853d82d90357a36832ca1c62cefbfadc6154.tar.xz |
Merge pull request #4 from sbalneav/master
Fix deprecations
Diffstat (limited to 'python/mateweathermodule.c')
-rw-r--r-- | python/mateweathermodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/mateweathermodule.c b/python/mateweathermodule.c index 9427849..63691f8 100644 --- a/python/mateweathermodule.c +++ b/python/mateweathermodule.c @@ -36,7 +36,9 @@ 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); |