diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-07-15 14:31:12 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-07-29 11:36:18 +0100 |
commit | 8b03ec9d16832e3e25cef9f8a95e163c1a901112 (patch) | |
tree | 59604f76bccc01483c6162b4d4e4cf456478e87a /clutter | |
parent | 677df4497554ca1bbf1b461fe6eb5781d66a0581 (diff) | |
download | clutter-8b03ec9d16832e3e25cef9f8a95e163c1a901112.tar.gz |
actor: There is no need to implement animate_property()
It's a deprecated virtual function, and its replacement does the right
thing by default.
Diffstat (limited to 'clutter')
-rw-r--r-- | 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 4855ed647..0ab9bcac2 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; |