-----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 should have 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 the source code if I want to know more about that (I'm interested how the reference counting is solved since I need to implement something similar in one of my own libraries) Thank you for your help, I'm a now a little bit smarter :) Best regards Pablo - -- Pablo Yánez Trujillo http://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 list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
