summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libview/ev-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 91617fff..ceb7494d 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5395,6 +5395,7 @@ ev_view_document_changed_cb (EvDocumentModel *model,
gint current_page;
clear_caches (view);
+ ev_view_remove_all (view);
if (view->document) {
g_object_unref (view->document);