From: José Aliste Date: Thu, 10 Mar 2011 13:37:50 +0000 (-0300) Subject: libview: remove all widgets from the View when reloading the doc. X-Git-Tag: EVINCE_2_91_92~23 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=8434736a712f5b93d1f3909221abe0b88096f78a;p=evince.git libview: remove all widgets from the View when reloading the doc. Fixes bug #632087. --- diff --git a/libview/ev-view.c b/libview/ev-view.c index 301c8ca5..1b404dce 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -5219,6 +5219,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);