diff options
author | Germán Poo-Caamaño <[email protected]> | 2013-06-13 16:15:35 -0700 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-31 13:28:21 +0200 |
commit | e3575888c1b7569bc862879dd7da7cbd081d87a1 (patch) | |
tree | b90980fbf5a9a498fb055aba1815ac86eccd2686 /shell/ev-sidebar-bookmarks.c | |
parent | 2fb770b3245c3066cd9c556f12793f4ed69ee52d (diff) | |
download | atril-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-bookmarks.c')
0 files changed, 0 insertions, 0 deletions