Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 45f5de0..5b81ce3 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -1944,6 +1944,11 @@ ev_view_set_document (EvView *view,
}
+ if (view->pixbuf_cache) {
+ g_object_unref (view->pixbuf_cache);
+ view->pixbuf_cache = NULL;
+ }
+
view->document = document;
view->find_page = 0;
view->find_result = 0;