RE: [gtkmm] Really Glib::free() is needed?
- From: Murray Cumming Comneon com
- To: igorbounov voronezh serw ru, gtkmm-list gnome org
- Subject: RE: [gtkmm] Really Glib::free() is needed?
- Date: Wed, 12 Nov 2003 08:39:57 +0100
> 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]