[cluttermm] Animator (deprecated): Derive from Scriptable.



commit ee95c328cf29803d215bac5ab1002f5002d3547c
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Sep 16 13:57:38 2015 +0200

    Animator (deprecated): Derive from Scriptable.
    
    We already used _IMPLEMENTS_INTERFACE() but forgot to do this.
    The move constructor generated by the recent gmmproc caused a
    compiler error because of this, which is nice.

 clutter/src/animator.hg |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/animator.hg b/clutter/src/animator.hg
index b4e5eb9..ebedb93 100644
--- a/clutter/src/animator.hg
+++ b/clutter/src/animator.hg
@@ -36,7 +36,9 @@ class Timeline;
 /**
  * @deprecated Use KeyframeTransition instead.
  */
-class Animator : public Glib::Object
+class Animator
+: public Glib::Object,
+  public Scriptable
 {
   _CLASS_GOBJECT(Animator, ClutterAnimator, CLUTTER_ANIMATOR, Glib::Object, GObject)
   _IMPLEMENTS_INTERFACE(Scriptable)


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