Re: Some questions about Gobject based classes

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

 



On Tue, Nov 4, 2008 at 7:32 PM, Pablo Yanez Trujillo <yanezp@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
'place' and 'title' are GString objects and have to be freed with g_string_free. I don't know where I have to do that.
gtest_medium_get_type looks like:

You need to override the class method for ->finalize(), like you must have
already done for set_property()/get_property().

I think that only dynamic types can free class wide data, I suspect they
are assumed to be referenced from a unloadable library while static
types are not.

Cheers,
                       -Tristan

_______________________________________________
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