diff options
author | infirit <[email protected]> | 2014-12-10 02:24:12 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 02:24:12 +0100 |
commit | 07363a38f4f9524b5ff5cae474fff36598d4608a (patch) | |
tree | cfaca432f4877fab87548907fdaa9cad2da772de /libview | |
parent | 28c29d72f5c4a8eb4469f84b82e6698ceb9721a2 (diff) | |
download | atril-07363a38f4f9524b5ff5cae474fff36598d4608a.tar.bz2 atril-07363a38f4f9524b5ff5cae474fff36598d4608a.tar.xz |
libview: clear caches after destroying child widgets.
Taken from evince commit: 4de037ccccb4d836db43bf97fdaacf7c02ffb1f1
From: Marek Kašík <[email protected]>
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-view.c | 2 |
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); |