RE: [gtkmm] Really Glib::free() is needed?



 > There is written in gtkmm documentation:
> (http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1T
> reePath.html#a41)
> "Glib::ustring Gtk::TreePath::to_string ( ) const
> Generates a string representation of the path.
> [...]
> Returns:
>      A newly-allocated string. Must be freed with 
> Glib::free(). " and also:
> (http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1T
> reeModel.html#a18)
> "Glib::ustring Gtk::TreeModel::get_string (const iterator& iter) const
Generates a string representation of the iter. [...]
> Returns:
>    A newly-allocated string. Must be freed with Glib::free()."
>
> Well, really Glib::free()?
>	Igor Gorbounov

This is clearly a documentation bug. Please report in bugzilla and ideally
patch. It probably needs a new entry in gtk_docs_override.xml, and that is
very easy to do.

Murray Cumming
www.murrayc.com
murrayc usa net



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