[pygobject] testhelpermodule.c: Drop obsolete g_thread_init()



commit fa054fd15b8874760bee97d9af168a2969e6ece4
Author: Martin Pitt <martinpitt gnome org>
Date:   Mon Nov 5 14:38:07 2012 +0100

    testhelpermodule.c: Drop obsolete g_thread_init()
    
    We already require a new enough glib version as we dropped g_thread_init() in
    the main code a long time ago. But for formality's sake, bump glib requirement
    to >= 2.32.

 configure.ac             |    4 ++--
 tests/testhelpermodule.c |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2fca6ff..3ebb9c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,8 +19,8 @@ dnl versions of packages we require ...
 m4_define(introspection_required_version, 1.33.14)
 m4_define(py2cairo_required_version, 1.2.0)
 m4_define(py3cairo_required_version, 1.10.0)
-m4_define(glib_required_version, 2.31.0)
-m4_define(gio_required_version, 2.31.0)
+m4_define(glib_required_version, 2.32.0)
+m4_define(gio_required_version, 2.32.0)
 
 AC_INIT(pygobject, pygobject_version,
         [http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject])
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index bc83e9d..8d8175e 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -602,7 +602,6 @@ PYGLIB_MODULE_START(testhelper, "testhelper")
 {
   PyObject *m, *d;
   
-  g_thread_init(NULL);
   pygobject_init(-1, -1, -1);
 
   d = PyModule_GetDict(module);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]