]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-presentation-timer.c
Small cleanup
[evince.git] / shell / ev-presentation-timer.c
index 5c8d21306b7451951f69fbcb27046d73ae6b326a..12c7d1be380e14a4629c7d4a8ef89f67398d8318 100644 (file)
@@ -65,8 +65,12 @@ ev_presentation_timer_draw(GtkWidget *timer, cairo_t *cr)
        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);
        }