chaining of destroy signal

David Hampton hampton at employees.org
Tue Feb 15 19:15:30 EST 2005


On Tue, 2005-02-15 at 18:39 -0500, Stephen Evanchik wrote:
> On Mon, 2005-02-14 at 17:46 -0500, c.shoemaker at cox.net wrote:
> Not in the destroy function, in dispose which is where objects are
> supposed to unref anything that they hold refs to (that's paraphrased
> from an email I discovered.. I'll try and locate it.) 

Looks to me like that's another holdover from gnucash1.0 where objects
were gtk based.  That should be converted from a gtk destroy function to
a gobject dispose function.  The destroy function will never be called.
See near the top of
http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html
for information on the dispose function.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050215/6b896016/attachment.bin


More information about the gnucash-devel mailing list