cairo_stroke (cr);
if(ev_timer->priv->running && ev_timer->priv->time > 0 && ev_timer->priv->remaining > 0)
{
- gdouble progress = ev_presentation_timer_progress (ev_timer->priv->time, ev_timer->priv->remaining)*(allocation.width);
- cairo_rectangle (cr, allocation.width-progress, 10, (allocation.width-(allocation.width-progress))-10, allocation.height-5);
+ gdouble progress = ev_presentation_timer_progress (ev_timer->priv->time,
+ ev_timer->priv->remaining)*(allocation.width);
+ cairo_rectangle (cr, allocation.width-progress,
+ 10,
+ (allocation.width-(allocation.width-progress))-10,
+ allocation.height-5);
cairo_stroke_preserve (cr);
cairo_fill(cr);
}