[cluttermm] Deprecated Rectangle.



commit 246821359b6fb39ab178e6981b69fd917e735aab
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 24 08:52:33 2014 +0100

    Deprecated Rectangle.
    
    Because ClutterRectangle was deprecated in favour of just using
    Actor:
    
https://git.gnome.org/browse/clutter/commit/clutter/deprecated/clutter-rectangle.c?h=clutter-1.18&id=6d268fe5ca5c0d97a64dc5a47cf29f549010c556

 clutter/src/rectangle.hg |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/rectangle.hg b/clutter/src/rectangle.hg
index 7f16311..9063f22 100644
--- a/clutter/src/rectangle.hg
+++ b/clutter/src/rectangle.hg
@@ -21,14 +21,21 @@
 _DEFS(cluttermm,clutter)
 _PINCLUDE(cluttermm/private/actor_p.h)
 
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
 
 namespace Clutter
 {
 
+/**
+ * @deprecated Use Actor instead.
+ */
 class Rectangle :
   public Actor
 {
   _CLASS_GOBJECT(Rectangle, ClutterRectangle, CLUTTER_RECTANGLE, Actor, ClutterActor)
+  _IS_DEPRECATED
 
 protected:
   _CTOR_DEFAULT()


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