[evince] libview: remove all widgets from the View when reloading the doc.
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] libview: remove all widgets from the View when reloading the doc.
- Date: Sun, 13 Mar 2011 21:24:48 +0000 (UTC)
commit 8434736a712f5b93d1f3909221abe0b88096f78a
Author: José Aliste <jaliste src gnome org>
Date: Thu Mar 10 10:37:50 2011 -0300
libview: remove all widgets from the View when reloading the doc.
Fixes bug #632087.
libview/ev-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 301c8ca..1b404dc 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]