summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-layers.c
diff options
context:
space:
mode:
authorGermán Poo-Caamaño <[email protected]>2013-06-13 16:15:35 -0700
committerraveit65 <[email protected]>2017-08-31 13:28:21 +0200
commite3575888c1b7569bc862879dd7da7cbd081d87a1 (patch)
treeb90980fbf5a9a498fb055aba1815ac86eccd2686 /shell/ev-sidebar-layers.c
parent2fb770b3245c3066cd9c556f12793f4ed69ee52d (diff)
downloadatril-e3575888c1b7569bc862879dd7da7cbd081d87a1.tar.bz2
atril-e3575888c1b7569bc862879dd7da7cbd081d87a1.tar.xz
libview: Don't update current_page to negative number
In continuous mode with dual page view, there is a chance that the pages were outside of the scroll view. When opening a document in such circumstances, the current page should not be updated to a negative number when already has the first page as default. This fixes a crash when searching with a negative current page. Fix https://bugzilla.gnome.org/show_bug.cgi?id=683172 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=8fe6917
Diffstat (limited to 'shell/ev-sidebar-layers.c')
0 files changed, 0 insertions, 0 deletions