summaryrefslogtreecommitdiffstats
path: root/gobject/gobjectmodule.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2003-03-07 13:28:57 +0000
committerJames Henstridge <jamesh@src.gnome.org>2003-03-07 13:28:57 +0000
commit5b8e99787fd98095b75e8e464b14bc8256b73166 (patch)
treea1cff7d72ed6b9dd860513dbea8f934194c8300c /gobject/gobjectmodule.c
parent8febf0d579f67b16d347c8c91c69bd7afe3f4034 (diff)
downloadpygobject-5b8e99787fd98095b75e8e464b14bc8256b73166.tar.gz
pygobject-5b8e99787fd98095b75e8e464b14bc8256b73166.tar.xz
pygobject-5b8e99787fd98095b75e8e464b14bc8256b73166.zip
the GObject should own a ref to the wrapper. (pygobject_new): get rid of
2003-03-06 James Henstridge <james@daa.com.au> * pygobject.c (pygobject_register_wrapper): the GObject should own a ref to the wrapper. (pygobject_new): get rid of the hasref code, and make sure that the GObject owns a ref to the wrapper if we create it. (pygobject_dealloc): get rid of the hasref code. If we get this far, the wrapper is dead. (pygobject_traverse): if the GObject's refcount == 1, then traverse to self. (pygobject_clear): clear self->obj and self->inst_dict. (pygobject_register_class): set tp_clear() so that things actually work. Without this, there was no tp_clear method for subclasses of GObject. * pygobject.h: remove hasref member, hopefully not needed if relying on cycle GC.
Diffstat (limited to 'gobject/gobjectmodule.c')
0 files changed, 0 insertions, 0 deletions