summaryrefslogtreecommitdiffstats
path: root/gobject/gobjectmodule.c
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2005-01-09 17:35:01 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2005-01-09 17:35:01 +0000
commitcdbddaa4d040be8b71d0e3b4790da4aaf6b87ab6 (patch)
tree1d604c60dd3df41d5807b5d29fb92949696d3e03 /gobject/gobjectmodule.c
parentd953b545f6fa8f0e24b265044bc52ab5896702eb (diff)
downloadpygobject-cdbddaa4d040be8b71d0e3b4790da4aaf6b87ab6.tar.gz
pygobject-cdbddaa4d040be8b71d0e3b4790da4aaf6b87ab6.tar.xz
pygobject-cdbddaa4d040be8b71d0e3b4790da4aaf6b87ab6.zip
misc API additions, threading
Diffstat (limited to 'gobject/gobjectmodule.c')
-rw-r--r--gobject/gobjectmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index 5ed9d64..5f3918e 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -1055,8 +1055,8 @@ pyg_type_register(PyObject *self, PyObject *args)
} else
g_warning("type has no tp_bases");
- Py_INCREF(Py_None);
- return Py_None;
+ Py_INCREF(class);
+ return class;
}
static PyObject *