[cluttermm] Deprecate Score.



commit 24b447db28640b0e125ca5793bf829c12c306e40
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 24 08:57:27 2014 +0100

    Deprecate Score.
    
    Because ClutterScore was deprecated:
    
https://git.gnome.org/browse/clutter/commit/clutter/deprecated/clutter-score.c?h=clutter-1.18&id=4b33a9c5f4cdf26492d24b7e989ba8bba022edef

 clutter/src/score.hg |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/score.hg b/clutter/src/score.hg
index 2eca738..ddc2af3 100644
--- a/clutter/src/score.hg
+++ b/clutter/src/score.hg
@@ -21,13 +21,21 @@
 _DEFS(cluttermm,clutter)
 _PINCLUDE(glibmm/private/object_p.h)
 
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
 
 namespace Clutter
 {
 
+/**
+ * @deprecated Use Animator or State to create
+ * complex animations involving multiple timelines.
+ */
 class Score : public Glib::Object
 {
   _CLASS_GOBJECT(Score, ClutterScore, CLUTTER_SCORE, Glib::Object, GObject)
+  _IS_DEPRECATED
 
 protected:
   _CTOR_DEFAULT()


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