gtk_tree_model_get() --> when to free results???



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 it appropriate?

I expect the model always to return the same pointer I used to fill the
model. Am I wrong in this assumption? And is there some documentation
explaining this behavior?

thanks,
        Olivier



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