[evince/BUG_presentation_duration: 25/25] Presentation: fix g_critical about removing non-existant timer




commit e948907ce62738c290055f018f7b52c797bd56a6
Author: Nelson Benítez León <nbenitezl gmail com>
Date:   Wed Apr 21 21:26:40 2021 -0400

    Presentation: fix g_critical about removing non-existant timer

 libview/ev-view-presentation.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c
index 43887442..cc003305 100644
--- a/libview/ev-view-presentation.c
+++ b/libview/ev-view-presentation.c
@@ -236,6 +236,7 @@ ev_view_presentation_get_page_area (EvViewPresentation *pview,
 static gboolean
 transition_next_page (EvViewPresentation *pview)
 {
+       pview->trans_timeout_id = 0;
        ev_view_presentation_next_page (pview);
 
        return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]