timeline: Emit last ::completed before ::stopped
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 12 Jun 2012 21:44:42 +0000 (22:44 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 13 Jun 2012 07:42:29 +0000 (08:42 +0100)
commite01f9f330dc87f308d2a064eae4d7f75fe66ee8d
tree2deac8b010870a924a44c35116400e3376aeb7e4
parent252eafa5206066062d8f9605fad9367e891c3e45
timeline: Emit last ::completed before ::stopped

The ::stopped signal should be emitted at the end of the Timeline, after
the last ::completed signal emission, in order to have a proper
chronological progress of signal emissions:

  started → new-frame → [ ... ] → completed → stopped

This way, ::stopped can perform a proper teardown of the state set up
during ::started, without interfering with the potential cyclical
emission of ::completed.
clutter/clutter-timeline.c