diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-08-16 10:17:15 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-11-20 23:19:13 +0000 |
commit | 2fec31a5aa89c4e1d877f6252d43309f806f39f6 (patch) | |
tree | e026eff5914ecf03944db6f3256c05221e4cc04a | |
parent | 04faded71799f1e67dfc1cdf0d8c20e78da3d1b4 (diff) | |
download | clutter-2fec31a5aa89c4e1d877f6252d43309f806f39f6.tar.gz |
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
(cherry picked from commit b50e1c3b628c0238da0d1ea89853b53ef06fa2ef)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rw-r--r-- | 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 bfb971130..dbb686fc1 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); |