GNOME Bugzilla – Bug 126870
Documentation bug
Last modified: 2004-12-22 21:47:04 UTC
In gtkmm docs is written: (http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreePath.html#a41) Glib::ustring Gtk::TreePath::to_string ( ) const Generates a string representation of the path. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Returns: A newly-allocated string. Must be freed with Glib::free(). " Here "Must be freed with Glib::free()" is erroneous, these statement should be removed. Another refference in gtkmm docs: (http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html#a18) "Glib::ustring Gtk::TreeModel::get_string (const iterator& iter) const Generates a string representation of the iter. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Parameters: iter An Gtk::TreeIter. Returns: A newly-allocated string. Must be freed with Glib::free()." "Must be freed with Glib::free()" is erroneous, these statement should be removed.
Thanks. 2003-11-14 Murray Cumming <murrayc@usa.net> * gdk/src/gdk_docs_override.xml, gtk/src/gtk_docs_override.xm, pango/src/pango_docs_override.xml. Added overrides for 4 or 5 methods that mention Glib::Free, though I feel sure that I did this once before. Bug #126870.