Re: dispose and finalize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Jan 2010 18:20:39 +0100 Martin Kalbfuß wrote:

> So if I have a Garray member, I call g_array_unref in finalize,
> because it isn't a child of GObject. Correct?

Actually, I would decrement the reference count of all reference
counted objects in dispose. Speaking of GObject is probably an
over-simplification. I am not sure if that's strictly required, but it
sounds safer anyways.

Holger
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux