[gtkmm/gtkmm-2-24] Notebook: Deprecated get/set_group(), adding get/set_group_name().



commit 38cb64e9c023f6dbd04a6bbba6610190fb155d78
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jan 14 16:58:56 2011 +0100

    Notebook: Deprecated get/set_group(), adding get/set_group_name().
    
    * gtk/src/notebook.hg: Follow the deprecation in GTK+ 2.24.

 ChangeLog           |    6 ++++++
 gtk/src/notebook.hg |    9 ++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1230447..e366eb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-01-14  Murray Cumming  <murrayc murrayc com>
 
+	Notebook: Deprecated get/set_group(), adding get/set_group_name().
+	
+	* gtk/src/notebook.hg: Follow the deprecation in GTK+ 2.24.
+
+2011-01-14  Murray Cumming  <murrayc murrayc com>
+
 	Notebook: Deprecated set_window_creation_hook().
 
 	* gtk/src/notebook.[hg|ccg]: This method is deprecated in favour of the 
diff --git a/gtk/src/notebook.hg b/gtk/src/notebook.hg
index 69e40dc..d81dc62 100644
--- a/gtk/src/notebook.hg
+++ b/gtk/src/notebook.hg
@@ -377,10 +377,13 @@ _DEPRECATE_IFDEF_END
   _WRAP_METHOD(int get_group_id() const, gtk_notebook_get_group_id, deprecated)
 
   //TODO: Use something nicer than void*/gpointer?
-  _WRAP_METHOD(void set_group(void* group), gtk_notebook_set_group)
-  _WRAP_METHOD(void* get_group(), gtk_notebook_get_group)
-  _WRAP_METHOD(const void* get_group() const, gtk_notebook_get_group, constversion)
+  _WRAP_METHOD(void set_group(void* group), gtk_notebook_set_group, deprecated)
+  _WRAP_METHOD(void* get_group(), gtk_notebook_get_group, deprecated)
+  _WRAP_METHOD(const void* get_group() const, gtk_notebook_get_group, constversion, deprecated)
 
+  _WRAP_METHOD(void set_group_name(const Glib::ustring& group_name), gtk_notebook_set_group_name)
+  _WRAP_METHOD(Glib::ustring get_group_name() const, gtk_notebook_get_group_name)
+  
   _WRAP_METHOD(int get_current_page() const, gtk_notebook_get_current_page)
   _WRAP_METHOD(Widget* get_nth_page(int page_num), gtk_notebook_get_nth_page)
   _WRAP_METHOD(const Widget* get_nth_page(int page_num) const, gtk_notebook_get_nth_page, constversion)



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