scroll-actor: Fix ->transition not being reset
authorBastien Nocera <hadess@hadess.net>
Fri, 18 May 2012 16:34:18 +0000 (17:34 +0100)
committerBastien Nocera <hadess@hadess.net>
Fri, 18 May 2012 16:36:44 +0000 (17:36 +0100)
commit26c1d89d1975f382d4ed4e4d7959835fee991e5e
treec72895b385547a071d359bd510652de6839205d4
parentc9028cee48f804e5d19cd36b55447cb19e0fd811
scroll-actor: Fix ->transition not being reset

When the transition was removed from the scroll-actor manually,
to cancel a not-finished animation, the transition struct member
wasn't reset to NULL.

This fixes this problem, and removes the need for the struct member
to be reset manually when animation has completed.

https://bugzilla.gnome.org/show_bug.cgi?id=676334
clutter/clutter-scroll-actor.c