After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676334 - scroll-actor: Fix ->transition not being reset
scroll-actor: Fix ->transition not being reset
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-05-18 16:36 UTC by Bastien Nocera
Modified: 2012-05-18 16:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scroll-actor: Fix ->transition not being reset (1.81 KB, patch)
2012-05-18 16:36 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-05-18 16:36:43 UTC
.
Comment 1 Bastien Nocera 2012-05-18 16:36:45 UTC
Created attachment 214389 [details] [review]
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.
Comment 2 Emmanuele Bassi (:ebassi) 2012-05-18 16:39:06 UTC
Review of attachment 214389 [details] [review]:

looks good