evince/evince-remove-widgets.patch
2011-04-26 13:22:22 +02:00

11 lines
348 B
Diff

--- evince-2.30.3/libview/ev-view.c 2010-06-24 10:19:29.000000000 +0200
+++ evince-2.30.3/libview/ev-view.c 2011-04-26 12:42:33.000000000 +0200
@@ -4586,6 +4586,7 @@ ev_view_document_changed_cb (EvDocumentM
if (document != view->document) {
gint current_page;
+ ev_view_remove_all (view);
clear_caches (view);
if (view->document) {