Stefan Kost wrote:
Hi Olivier,
I've just browsed over the docs from glib, gobject and gtk. I though
these rules are somwhere in there, but I didn't found them. I've also
looked at
http://developer.gnome.org/doc/guides/
http://developer.gnome.org/doc/tutorials/
Now the question is where
On 05/10/2005 09:40:04 AM, Olivier Sessink wrote:
Hi all,
in the documentation from gtk_tree_model_get() at
http://developer.gnome.org/doc/API/2.0/gtk/
GtkTreeModel.html#gtk-tree-model-get I read:
If appropriate, the returned values have to be freed or
unreferenced.
my question is: when is
Peter Bloomfield wrote:
On 05/10/2005 10:11:40 AM, Olivier Sessink wrote:
[ snip ]
thanks for the clarification. where did you find this information?
I don't recall--certainly not from the docs! Partly experimentation--I
noticed that some objects weren't getting finalized.
I'll
Stefan Kost wrote:
Hi Olivier,
I am afraid this report is invalid. It is common behaviour in
glib/gobject based applications that when returning data
* gobjects are reffed and need to be unreffed when done
* strings are strdup'ed and should be freed (unless they are marked as
const)
such