Fix stopping a timeline
Correctly apply De Morgan's laws to the short-circuit test in clutter_timeline_pause(); it was short-circuiting always and never actually pausing. http://bugzilla.openedhand.com/show_bug.cgi?id=1629 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
f87e10c024
commit
276952d6f9
@ -709,7 +709,7 @@ clutter_timeline_pause (ClutterTimeline *timeline)
|
||||
|
||||
priv = timeline->priv;
|
||||
|
||||
if (priv->delay_id == 0 || !priv->is_playing)
|
||||
if (priv->delay_id == 0 && !priv->is_playing)
|
||||
return;
|
||||
|
||||
if (priv->delay_id)
|
||||
|
Loading…
Reference in New Issue
Block a user