summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-04-30 17:50:43 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-04-30 17:50:43 +0000
commitecbf8b6315dda927f4f90d8651033eb67c46a187 (patch)
tree06a042ad7390593a49ac66c53b05d33ad31cf783 /tests
parent5c907554f4c995d0dba2359c8a30fe29927e02d0 (diff)
downloadpygobject-ecbf8b6315dda927f4f90d8651033eb67c46a187.tar.gz
fix GSlice thread init warning
svn path=/trunk/; revision=660
Diffstat (limited to 'tests')
-rw-r--r--tests/common.py2
-rw-r--r--tests/testhelpermodule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.py b/tests/common.py
index 25136b2a..d0ff4392 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -15,8 +15,8 @@ def importModules(buildDir, srcDir):
sys.path.insert(0, os.path.join(buildDir, 'tests'))
sys.argv.append('--g-fatal-warnings')
- gobject = importModule('gobject', buildDir, 'gobject')
testhelper = importModule('testhelper', '.')
+ gobject = importModule('gobject', buildDir, 'gobject')
ltihooks.uninstall()
del ltihooks
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index 95542a3c..d35aecc7 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -484,8 +484,8 @@ inittesthelper ()
PyObject *m, *d;
PyObject *module;
- init_pygobject();
g_thread_init(NULL);
+ init_pygobject();
m = Py_InitModule ("testhelper", testhelper_functions);
d = PyModule_GetDict(m);