summaryrefslogtreecommitdiffstats
path: root/tests/testhelpermodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-01-09 12:26:46 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-01-09 12:26:46 +0000
commit551a38178f7e66f215980fb01200472c8e6d3cd4 (patch)
treefbbfd2556f77dc9f64c5c92af76a7dc35930f859 /tests/testhelpermodule.c
parent0b07af909c44f27368a13ecfa94bfda5762e58fb (diff)
downloadpygobject-551a38178f7e66f215980fb01200472c8e6d3cd4.tar.gz
pygobject-551a38178f7e66f215980fb01200472c8e6d3cd4.tar.xz
pygobject-551a38178f7e66f215980fb01200472c8e6d3cd4.zip
Split out PyGObject from PyGTK.
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r--tests/testhelpermodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index 7684721..b849344 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -15,9 +15,9 @@ test_type_get_type(void)
GTypeInfo *type_info;
GTypeQuery query;
- parent_type = g_type_from_name("PyLabel");
+ parent_type = g_type_from_name("PyGObject");
if (parent_type == 0)
- g_error("could not get PyLabel from testmodule");
+ g_error("could not get PyGObject from testmodule");
type_info = (GTypeInfo *)g_new0(GTypeInfo, 1);
@@ -74,7 +74,7 @@ _wrap_test_g_object_new (PyObject * self)
GObject *obj;
PyObject *rv;
- obj = g_object_new(g_type_from_name("PyLabel"), NULL);
+ obj = g_object_new(g_type_from_name("PyGObject"), NULL);
rv = PyInt_FromLong(obj->ref_count); /* should be == 2 at this point */
g_object_unref(obj);
return rv;