Re: Some questions about Gobject based classes

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

 



-----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 :)
RegardsPablo
Pablo Yánez Trujillohttp://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 <> 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> -----BEGIN PGP SIGNATURE-----Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkkSLfIACgkQDzf8xo+0xRXzPgCgsMxbdiLePU7g3cE2Q1LaUlhyZBwAoNhGOgbGhK8ZihgKvvUqz0G5TkUH=ZGR0-----END PGP SIGNATURE-----_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://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