[gtkmm] Remove deprecation ifdefs around HBox and VBox.



commit ce9137a6e937f1f89ae9c8e7940aee6ffea663d0
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jun 14 20:37:34 2011 +0200

    Remove deprecation ifdefs around HBox and VBox.
    
    	* gtk/src/hvbox.hg: We can't put these in ifdefs because they are
    	used as base classes by several other classes, and we can't change
    	those heirarchies because that would (probably?) break ABI.

 ChangeLog        |    8 ++++++++
 gtk/src/hvbox.hg |    5 ++---
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e2b2d30..4987049 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-06-14  Murray Cumming  <murrayc murrayc com>
+
+	Remove deprecation ifdefs around HBox and VBox.
+
+	* gtk/src/hvbox.hg: We can't put these in ifdefs because they are 
+	used as base classes by several other classes, and we can't change 
+	those heirarchies because that would (probably?) break ABI.
+
 2011-06-13  Murray Cumming  <murrayc murrayc com>
 
 	Moved HScrollbar and VScrollbar to separate files.
diff --git a/gtk/src/hvbox.hg b/gtk/src/hvbox.hg
index 6bee6c4..c7a80a0 100644
--- a/gtk/src/hvbox.hg
+++ b/gtk/src/hvbox.hg
@@ -27,7 +27,6 @@ _PINCLUDE(gtkmm/private/box_p.h)
 namespace Gtk
 {
 
-//TODO: Remove HBox and VBox now that Box can be instantiated?
 /** Vertical Box for laying widgets in a vertical row.
  *
  * You should create these objects, but it is more comfortable to pass
@@ -44,7 +43,7 @@ namespace Gtk
 class VBox : public Box
 {
   _CLASS_GTKOBJECT(VBox,GtkVBox,GTK_VBOX,Gtk::Box,GtkBox)
-  _IS_DEPRECATED
+  //TODO: Do this when we can stop using this as a base class elsewhere, when we break ABI: _IS_DEPRECATED
 public:
 
   //TODO: Remove the homogoenous parameter as it was removed in gtk_box_new().
@@ -75,7 +74,7 @@ public:
 class HBox : public Box
 {
   _CLASS_GTKOBJECT(HBox,GtkHBox,GTK_HBOX,Gtk::Box,GtkBox)
-  _IS_DEPRECATED
+  //TODO: Do this when we can stop using this as a base class elsewhere, when we break ABI: _IS_DEPRECATED
 public:
 
   //TODO: Remove the homogoenous parameter as it was removed in gtk_box_new().



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