Re: freeing GTK+ memory

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

 



-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA1
Hi
> It applies to any object derived from GInitiallyUnowned.  You need to> look at the inheritance tree of the object you are creating.
stupid question from me, I didn't realize that. I know that the documentation prints the inheritance tree, I've shouldhave seen there first.
> It is correct and safe.  Classes implementing the GtkTreeModel> interface, such as GtkListStore, are pure GObjects which do not derive> from GInitiallyUnowned.
Ok, that's useful information. I understand now how it should be done correctly.
> The reference I gave you tells you pretty much all you need to know,> but the following GObject documentation (under "Description") says more> or less the same:>> http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html
I've already read this but I wanted something that goes deeper in details. I think I could take also a look at thesource code if I want to know more about that (I'm interested how the reference counting is solved since I need toimplement something similar in one of my own libraries)
Thank you for your help, I'm a now a little bit smarter :)
Best regardsPablo
- --Pablo Yánez Trujillohttp://klingsor.informatik.uni-freiburg.de/My public key: http://klingsor.informatik.uni-freiburg.de/gpg/supertux.asc-----BEGIN PGP SIGNATURE-----Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkj7vpQACgkQDzf8xo+0xRVyigCfXn8jBZA3tSR2GIq4LQk47NQa+kQAn0qKkJUWt2PUEYD0URSLdmp9F3aq=4iPI-----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