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 162693 - TreeModel::get_iter() needs to be const
TreeModel::get_iter() needs to be const
Status: RESOLVED DUPLICATE of bug 134520
Product: gtkmm
Classification: Bindings
Component: general
2.5
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2005-01-01 23:05 UTC by Bryan Forbes
Modified: 2005-01-04 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bryan Forbes 2005-01-01 23:05:10 UTC
gtk_tree_model_get_iter does not change anything about the model so the
get_iter() methods should be const or have const counterparts.
Comment 1 Murray Cumming 2005-01-04 10:44:13 UTC
get_iter() does give you an iterator that allows you to change the model, so it
should not be const.

However, we do need a 
const_iterator get_iter() const.
But we don't have a real const_iterator yet:
http://bugzilla.gnome.org/show_bug.cgi?id=134520

*** This bug has been marked as a duplicate of 134520 ***