From b50e1c3b628c0238da0d1ea89853b53ef06fa2ef Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 16 Aug 2013 10:17:15 +0100 Subject: [PATCH] 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. https://bugzilla.gnome.org/show_bug.cgi?id=705739 --- clutter/clutter-actor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 4775c5668..52d47ed7f 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -18869,12 +18869,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);