[gtkmm] Widget: Remove style_attach().



commit 4d2400a72f7796b1df3038569b153e7d0147e078
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jan 11 15:53:19 2011 +0100

    Widget: Remove style_attach().
    
    * gtk/src/widget.hg: gtk_widget_style_attach() is deprecated, so we don't
    wrap it anymore.
    This fixes the build with --enable-warnings=fatal.

 ChangeLog         |    8 ++++++++
 gtk/src/widget.hg |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2799f5a..595e3aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-11  Murray Cumming  <murrayc murrayc com>
+
+	Widget: Remove style_attach().
+
+	* gtk/src/widget.hg: gtk_widget_style_attach() is deprecated, so we don't 
+	wrap it anymore.
+	This fixes the build with --enable-warnings=fatal.
+
 2011-01-08  Murray Cumming  <murrayc murrayc com>
 
 	Depend on necessary versions of atkmm and pangomm.
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 8cf7725..5c3e57e 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -835,8 +835,8 @@ protected:
 
   _WRAP_METHOD(void set_mapped(bool mapped = true), gtk_widget_set_mapped)
   _WRAP_METHOD(void set_realized(bool realized = true), gtk_widget_set_realized)
-  _WRAP_METHOD(void style_attach(), gtk_widget_style_attach)
 
+  _IGNORE(gtk_widget_style_attach) //deprecated
   _IGNORE(gtk_widget_get_child_requisition) //deprecated.
 
   //The parameter name is "the_property_name" to avoid a warning because there is a method with the "property_name" name.



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