[gtkmm] Widget: Remove the deprecated size-request signal.



commit 662692c4d6fe12288b47eea7817a7c46e9b4afde
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Nov 4 15:52:23 2010 +0100

    Widget: Remove the deprecated size-request signal.
    
    * gtk/src/widget.hg: Do not wrap the size_request signal because it is
    deprecated and will soon be removed.

 ChangeLog         |    7 +++++++
 gtk/src/widget.hg |    3 +--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c254e28..247d56a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-04  Murray Cumming  <murrayc murrayc com>
+
+	Widget: Remove the deprecated size-request signal.
+
+	* gtk/src/widget.hg: Do not wrap the size_request signal because it is
+	deprecated and will soon be removed.
+
 2.91.3:
 
 2010-11-02  Murray Cumming  <murrayc murrayc com>
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 0a75e99..b253eaa 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -624,8 +624,7 @@ public:
   //_WRAP(meth|sig|impl,void unrealize_(),gtk_widget_unrealize,"unrealize")
   _WRAP_SIGNAL(void unrealize(),"unrealize")
 
-//TODO: Use a Requisition& instead?
-  _WRAP_SIGNAL(void size_request(Requisition* requisition), "size_request")
+  _IGNORE_SIGNAL(size_request) //size-request is deprecated and soon to be removed.
 
 #m4 _CONVERSION(`Allocation&',`GdkRectangle*',`($2)($3.gobj())')
 #m4 _CONVERSION(`GdkRectangle*',`Allocation&',`($2)(Glib::wrap($3))')



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