-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi
> You need to override the class method for ->finalize(), like you must have > already done for set_property()/get_property(). thanks, that did work :) Regards Pablo Pablo Yánez Trujillo http://klingsor.informatik.uni-freiburg.de/ My public key: http://klingsor.informatik.uni-freiburg.de/gpg/supertux.asc Tristan Van Berkom wrote: > On Tue, Nov 4, 2008 at 7:32 PM, Pablo Yanez Trujillo < > [EMAIL PROTECTED]> 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkSLfIACgkQDzf8xo+0xRXzPgCgsMxbdiLePU7g3cE2Q1LaUlhy ZBwAoNhGOgbGhK8ZihgKvvUqz0G5TkUH =ZGR0 -----END PGP SIGNATURE----- _______________________________________________ gtk-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
