[gtkmm] Documentation: Small correction to TreeModel::set_value_impl().



commit e8229e67cb152ea2264bb60c5bd633243c3aef30
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jan 31 09:56:50 2013 +0100

    Documentation: Small correction to TreeModel::set_value_impl().
    
    * gtk/src/treemodel.hg: set_value_impl(): Do not suggest calling
    set_value_vfunc() because there is no such function. Maybe there
    was once.

 ChangeLog            |    8 ++++++++
 gtk/src/treemodel.hg |    7 +++----
 2 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5389f54..b8331ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-01-31  Murray Cumming  <murrayc murrayc com>
+
+	Documentation: Small correction to TreeModel::set_value_impl().
+	
+	* gtk/src/treemodel.hg: set_value_impl(): Do not suggest calling
+	set_value_vfunc() because there is no such function. Maybe there
+	was once.
+
 2013-01-23  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
 	Documentation: Fix many warnings from Doxygen.
diff --git a/gtk/src/treemodel.hg b/gtk/src/treemodel.hg
index 3930bb7..c9d3d31 100644
--- a/gtk/src/treemodel.hg
+++ b/gtk/src/treemodel.hg
@@ -392,12 +392,11 @@ dnl
   _WRAP_VFUNC(void get_value(const iterator& iter, int column, Glib::ValueBase& value) const, get_value)
 
   //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().
+  //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(). murrayc
   /** 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.
+   * Your implementation of set_value_impl() should call row_changed() after changing the value.
    */
   virtual void set_value_impl(const iterator& row, int column, const Glib::ValueBase& value);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]