[pygtk] making pygobject_register_sinkfunc a noop?
tomeu at sugarlabs.org
Fri May 22 18:01:31 WST 2009
I'm working on pybank and have found a problem when removing the
floating reference after construction.
The current plan is to base pybank on pygobject, so pybank would
basically create at runtime the equivalent of the code generated for
the gtk, gstreamer, etc bindings.
I'm wondering now how can I make the equivalent of calling
pygobject_register_sinkfunc in pybank and by looking at the gjs code,
seems like we don't really need for each library bindings to register
their own sinkfuncs:
Is Gjs correct and we can do something generically and drop
You can track my work here:
And learn more about pybank here: http://live.gnome.org/PyBank/
More information about the pygtk