[cluttermm] Deprecate Box.



commit 197f812fd7a4d1575a3bc55767218671cade86b8
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 24 09:13:30 2014 +0100

    Deprecate Box.

 clutter/src/box.hg |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/box.hg b/clutter/src/box.hg
index 90ea3a8..e3fbce5 100644
--- a/clutter/src/box.hg
+++ b/clutter/src/box.hg
@@ -23,15 +23,23 @@ _DEFS(cluttermm,clutter)
 _PINCLUDE(cluttermm/private/actor_p.h)
 _PINCLUDE(cluttermm/private/container_p.h)
 
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
+
 namespace Clutter
 {
 
+/**
+ * @deprecated Use Actor instead.
+ */
 class Box :
     public Actor,
     public Container
 {
   _CLASS_GOBJECT(Box, ClutterBox, CLUTTER_BOX, Actor, ClutterActor)
   _IMPLEMENTS_INTERFACE(Container)
+  _IS_DEPRECATED
 
 protected:
   _CTOR_DEFAULT()


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