]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-presentation.c
[dualscreen][presentation] fix Issue #9
[evince.git] / libview / ev-view-presentation.c
index c3e40bf5787c557535f623470f65c010a0a70a6d..b32a0bbba4e2ed6900b72580f24d3305455ade33 100644 (file)
@@ -517,7 +517,7 @@ ev_view_presentation_set_page (EvViewPresentation *pview, gint new_page)
 
        if (new_page >= n_pages)
                ev_view_presentation_set_end (pview);
-       else
+       else if (new_page != pview->current_page)
                ev_view_presentation_update_current_page (pview, new_page);
 }