From 646cf060718931b05045d9e7f64921236a04f8bd Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 4 Jan 2010 14:53:00 +0100 Subject: [PATCH] [presentation] Fix transition of pages with duration=0 --- libview/ev-view-presentation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c index de86117d..05f87992 100644 --- a/libview/ev-view-presentation.c +++ b/libview/ev-view-presentation.c @@ -237,7 +237,7 @@ ev_view_presentation_transition_start (EvViewPresentation *pview) duration = ev_document_transition_get_page_duration (EV_DOCUMENT_TRANSITION (pview->document), pview->current_page); - if (duration > 0) { + if (duration >= 0) { pview->trans_timeout_id = g_timeout_add_seconds (duration, (GSourceFunc) transition_next_page, -- 2.43.0