[atkmm] Table: Add a get_at() const version and deprecate get_index_at().



commit cbfdaa2978233ad9463d6d914604702aea41ef42
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jun 29 10:03:03 2015 +0200

    Table: Add a get_at() const version and deprecate get_index_at().

 atk/src/table.hg |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/atk/src/table.hg b/atk/src/table.hg
index 07e607f..f278302 100644
--- a/atk/src/table.hg
+++ b/atk/src/table.hg
@@ -56,7 +56,10 @@ class Table : public Glib::Interface
 
 public:
   _WRAP_METHOD(Glib::RefPtr<Atk::Object> get_at(int row, int column), atk_table_ref_at)
-  _WRAP_METHOD(int get_index_at(int row, int column) const, atk_table_get_index_at)
+  _WRAP_METHOD(Glib::RefPtr<const Atk::Object> get_at(int row, int column) const, atk_table_ref_at)
+
+  _WRAP_METHOD(int get_index_at(int row, int column) const, atk_table_get_index_at, deprecated "Use get_at() 
instead.")
+
   _WRAP_METHOD(int get_column_at_index(int index) const, atk_table_get_column_at_index)
   _WRAP_METHOD(int get_row_at_index(int index) const, atk_table_get_row_at_index)
   _WRAP_METHOD(int get_n_columns() const, atk_table_get_n_columns)


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