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:
Owen W. Taylor 2009-06-05 16:52:18 -04:00 committed by Emmanuele Bassi
parent f87e10c024
commit 276952d6f9

View File

@ -709,7 +709,7 @@ clutter_timeline_pause (ClutterTimeline *timeline)
priv = timeline->priv; priv = timeline->priv;
if (priv->delay_id == 0 || !priv->is_playing) if (priv->delay_id == 0 && !priv->is_playing)
return; return;
if (priv->delay_id) if (priv->delay_id)