animator: fix crash when setting keys on running animator
authorØyvind Kolås <pippin@linux.intel.com>
Wed, 5 May 2010 12:34:06 +0000 (13:34 +0100)
committerØyvind Kolås <pippin@linux.intel.com>
Wed, 5 May 2010 17:24:53 +0000 (18:24 +0100)
commitd45395d78bf033cb9895092f77bdd81b9802fb2f
tree5f3ad44848161d50dbb8d8fdc9c037beb2b90e30
parent0ff02d18d2741adbb79d479a34325f0d63a05c26
animator: fix crash when setting keys on running animator

When inserting or modifying keys of a running animator the internal
iterators per property could go out of sync. Reinitializing the
iterators if the timeline is running avoids this.
clutter/clutter-animator.c