[clutter] actor: There is no need to implement animate_property()



commit 8b03ec9d16832e3e25cef9f8a95e163c1a901112
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Fri Jul 15 14:31:12 2011 +0100

    actor: There is no need to implement animate_property()
    
    It's a deprecated virtual function, and its replacement does the right
    thing by default.

 clutter/clutter-actor.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 4855ed6..0ab9bca 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -9544,26 +9544,9 @@ clutter_actor_set_final_state (ClutterAnimatable *animatable,
   g_free (p_name);
 }
 
-static gboolean
-clutter_actor_animate_property (ClutterAnimatable *animatable,
-                                ClutterAnimation  *animation,
-                                const gchar       *property_name,
-                                const GValue      *initial,
-                                const GValue      *final,
-                                gdouble            progress,
-                                GValue            *new_value)
-{
-  ClutterInterval *interval;
-
-  interval = clutter_animation_get_interval (animation, property_name);
-
-  return clutter_interval_compute_value (interval, progress, new_value);
-}
-
 static void
 clutter_animatable_iface_init (ClutterAnimatableIface *iface)
 {
-  iface->animate_property = clutter_actor_animate_property;
   iface->find_property = clutter_actor_find_property;
   iface->get_initial_state = clutter_actor_get_initial_state;
   iface->set_final_state = clutter_actor_set_final_state;



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