[clutter/clutter-1.14] actor: Do not set remove-on-complete on implicit transitions

commit 2fec31a5aa89c4e1d877f6252d43309f806f39f6
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Aug 16 10:17:15 2013 +0100

    actor: Do not set remove-on-complete on implicit transitions
    The implicitly created transitions are removed when complete by the
    implicit transition machinery. The remove-on-complete hint is for
    user-provided transitions.
    (cherry picked from commit b50e1c3b628c0238da0d1ea89853b53ef06fa2ef)
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 clutter/clutter-actor.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index bfb9711..dbb686f 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -18792,12 +18792,10 @@ _clutter_actor_create_transition (ClutterActor *actor,
   clos = g_hash_table_lookup (info->transitions, pspec->name);
   if (clos == NULL)
-      interval = clutter_interval_new_with_values (ptype, &initial, &final);
       res = clutter_property_transition_new (pspec->name);
+      interval = clutter_interval_new_with_values (ptype, &initial, &final);
       clutter_transition_set_interval (res, interval);
-      clutter_transition_set_remove_on_complete (res, TRUE);
       timeline = CLUTTER_TIMELINE (res);
       clutter_timeline_set_delay (timeline, info->cur_state->easing_delay);

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