After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126870 - Documentation bug
Documentation bug
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-11-13 05:56 UTC by igorbounov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description igorbounov 2003-11-13 05:56:02 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.
Comment 1 Murray Cumming 2003-11-14 22:43:18 UTC
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.