summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-08-20 19:51:38 +0000
committerGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-08-20 19:51:38 +0000
commit4d0b801bf182e23da70ba04910b6cc688e6c62a3 (patch)
tree90d8e1db21e229717f659529eb51cc0f94038d91 /gobject
parent598a45b7f7169b3c5ac12cc3c05580af8341dcb2 (diff)
downloadpygobject-4d0b801bf182e23da70ba04910b6cc688e6c62a3.tar.gz
pygobject-4d0b801bf182e23da70ba04910b6cc688e6c62a3.tar.xz
pygobject-4d0b801bf182e23da70ba04910b6cc688e6c62a3.zip
allow override of some more slots
Diffstat (limited to 'gobject')
-rw-r--r--gobject/pygobject.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c
index b5eadc7..af6f3be 100644
--- a/gobject/pygobject.c
+++ b/gobject/pygobject.c
@@ -115,13 +115,6 @@ pygobject_register_class(PyObject *dict, const gchar *type_name,
type->tp_base = (PyTypeObject *)PyTuple_GetItem(bases, 0);
}
- type->tp_dealloc = (destructor)pygobject_dealloc;
- type->tp_traverse = (traverseproc)pygobject_traverse;
- type->tp_clear = (inquiry)pygobject_clear;
- type->tp_flags |= Py_TPFLAGS_HAVE_GC;
- type->tp_weaklistoffset = offsetof(PyGObject, weakreflist);
- type->tp_dictoffset = offsetof(PyGObject, inst_dict);
-
if (PyType_Ready(type) < 0) {
g_warning ("couldn't make the type `%s' ready", type->tp_name);
return;