keyframe-transition: Create a new interval if necessary
authorBastian Winkler <buz@netbuz.org>
Mon, 14 May 2012 14:32:53 +0000 (16:32 +0200)
committerBastian Winkler <buz@netbuz.org>
Tue, 15 May 2012 15:41:24 +0000 (17:41 +0200)
commit0ef4cc3aed55035058fd2eab2394c79310aa78f5
tree1e7c5aa325fd981f7fb948d03af3f7ba708b08c9
parent8a4489c48e19af071469e5bfbd492e5a94439ce2
keyframe-transition: Create a new interval if necessary

When setting up the transition manually by calling

  clutter_keyframe_transition_set_key_frame (transition, n, keys);
  clutter_keyframe_transition_set_values (transition, n, values);
  clutter_keyframe_transition_set_modes (transition, n, modes);

the frame doesn't have a valid interval when calling set_keys(), so we
need to check its existence and create it if necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=676031
clutter/clutter-keyframe-transition.c