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 562505 - Reference to non-existent function set_row_changed()
Reference to non-existent function set_row_changed()
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: documentation
2.14.x
Other All
: Normal minor
: ---
Assigned To: gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-11-27 22:40 UTC by Bohumir Zamecnik
Modified: 2008-12-08 14:30 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Bohumir Zamecnik 2008-11-27 22:40:52 UTC
Documentation 
Section: treemodel.h, set_value_impl()
  //Called by TreeRow, which is a friend class:
  //The comment about set_row_changed() in the documentation is based on my reading of the source of
  //gtk_list_store_set_value() and gtk_tree_store_set_value().  
  /** Override and implement this in a derived TreeModel class, so that Row::operator() and
   * Row::set_value() work.
   * You can probably just implement this by calling set_value_vfunc().
   * Your implementation of set_value_impl() should also call set_row_changed() after changing the value.
   */

Correct version:
  //Called by TreeRow, which is a friend class:
  //The comment about row_changed() in the documentation is based on my reading of the source of
  //gtk_list_store_set_value() and gtk_tree_store_set_value().  
  /** Override and implement this in a derived TreeModel class, so that Row::operator() and
   * Row::set_value() work.
   * You can probably just implement this by calling set_value_vfunc().
   * Your implementation of set_value_impl() should also call row_changed() after changing the value.
   */

Other information:
Just a typo. There's no set_row_changed() function in gtkmm, only row_changed().
Comment 1 Murray Cumming 2008-12-08 14:30:58 UTC
Thanks.

Fixed by this commit in svn trunk:

2008-12-08  Murray Cumming  <murrayc@murrayc.com>

	* gtk/src/treemodel.hg: set_value_impl() documentation: Mention 
	row_changed(), not set_row_changed().
	Bug #562505 (Bohumir Zamecnik)