summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index d35dcb6d..9bd53d55 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5410,8 +5410,8 @@ ev_view_document_changed_cb (EvDocumentModel *model,
if (document != view->document) {
gint current_page;
- clear_caches (view);
ev_view_remove_all (view);
+ clear_caches (view);
if (view->document) {
g_object_unref (view->document);