timeline: Check if the timeline is playing in do_tick
authorChris Lord <chris@linux.intel.com>
Tue, 18 Jan 2011 15:48:29 +0000 (15:48 +0000)
committerChris Lord <chris@linux.intel.com>
Tue, 18 Jan 2011 16:23:50 +0000 (16:23 +0000)
commitbb41cb54cbdbb21f3be26ac14c07fd1c804b4d31
tree5dcb57ea733f585dba46dbc9c313a5df0e048671
parentc61e22d06787effcd4c260a817ba4845d5eedfdb
timeline: Check if the timeline is playing in do_tick

Check that the timeline is still playing before executing in
_clutter_timeline_do_tick. This fixes the possibility of receiving a
new-frame signal when stopping a timeline in response to a different
timeline's signal emission.
clutter/clutter-timeline.c