* shell/ev-view.c: (scroll_to_current_page):
Correctly clamp adjustment value. Fix for the bug
#325808.
+2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * shell/ev-view.c: (scroll_to_current_page):
+
+ Correctly clamp adjustment value. Fix for the bug
+ #325808.
+
2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-sidebar-links.c: (print_section_cb):
view_point.y + view->vadjustment->page_size);
} else {
gtk_adjustment_set_value (view->vadjustment,
- view_point.y);
+ CLAMP (view_point.y,
+ view->vadjustment->lower,
+ view->vadjustment->upper -
+ view->vadjustment->page_size));
}
} else {
if (view->dual_page) {