https://www.fi.muni.cz/~kas/git
/
evince.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed25262
)
[libview] Don't try to show/hide annot windows the first time page range changes
author
Carlos Garcia Campos
<carlosgc@gnome.org>
Tue, 8 Dec 2009 16:28:49 +0000
(17:28 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Tue, 8 Dec 2009 16:28:49 +0000
(17:28 +0100)
libview/ev-view.c
patch
|
blob
|
history
diff --git
a/libview/ev-view.c
b/libview/ev-view.c
index 8a5ac5f85ebf21e5f428f33f84e205143a141475..44f06cd73f8cc61f23a00f81baf6033e8742b30e 100644
(file)
--- a/
libview/ev-view.c
+++ b/
libview/ev-view.c
@@
-725,11
+725,11
@@
view_update_range_and_current_page (EvView *view)
if (start != view->start_page || end != view->end_page) {
gint i;
- for (i = start; i < view->start_page; i++) {
+ for (i = start; i < view->start_page
&& start != -1
; i++) {
hide_annotation_windows (view, i);
}
- for (i = end; i > view->end_page; i--) {
+ for (i = end; i > view->end_page
&& end != -1
; i--) {
hide_annotation_windows (view, i);
}
}