diff options
author | Johan Dahlin <johan@gnome.org> | 2008-07-26 08:37:59 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-26 08:37:59 +0000 |
commit | b94d79214498b07abc22e676897c8314cc386c7c (patch) | |
tree | b73c3e64c8363d9a89c98212a436a7445d57c217 /tests/test_thread.py | |
parent | 444fcf054cfa845c06cc23e2a67303ed0aa1f402 (diff) | |
download | pygobject-b94d79214498b07abc22e676897c8314cc386c7c.tar.gz |
Move over glib constants to gobject
2008-07-26 Johan Dahlin <johan@gnome.org>
* glib/glibmodule.c (pyglib_register_constants), (init_glib):
* gobject/__init__.py:
* gobject/gobjectmodule.c (init_gobject):
Move over glib constants to gobject
* tests/test_gio.py:
* tests/test_mainloop.py:
* tests/test_source.py:
* tests/test_subprocess.py:
* tests/test_thread.py:
Update tests to refer to glib when appropriate
svn path=/trunk/; revision=858
Diffstat (limited to 'tests/test_thread.py')
-rw-r--r-- | tests/test_thread.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_thread.py b/tests/test_thread.py index f1ec01a3..9f77f0bf 100644 --- a/tests/test_thread.py +++ b/tests/test_thread.py @@ -1,8 +1,9 @@ import os import unittest -from common import gobject, testhelper -main = gobject.MainLoop() +from common import glib, testhelper + +main = glib.MainLoop() class TestThread(unittest.TestCase): def from_thread_cb(self, test, enum): @@ -16,8 +17,8 @@ class TestThread(unittest.TestCase): self.obj.emit('emit-signal') def testExtensionModule(self): - gobject.idle_add(self.idle_cb) - gobject.timeout_add(50, self.timeout_cb) + glib.idle_add(self.idle_cb) + glib.timeout_add(50, self.timeout_cb) main.run() def timeout_cb(self): |