[evince] [libview] Clear form fields when rotation changes
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [libview] Clear form fields when rotation changes
- Date: Wed, 30 Sep 2009 16:30:35 +0000 (UTC)
commit 899acae2d641802bb46d7aaf850a224614866f08
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Wed Sep 30 18:25:52 2009 +0200
[libview] Clear form fields when rotation changes
Fixes a crash when rotating documents with form field widgets active.
Fixes bgo#593316.
libview/ev-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index ee5d258..ea26824 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5098,6 +5098,8 @@ ev_view_rotation_changed_cb (EvDocumentModel *model,
gtk_widget_queue_resize (GTK_WIDGET (view));
}
+ ev_view_remove_all (view);
+
if (rotation != 0)
clear_selection (view);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]