summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2013-07-30 19:09:52 +0200
committerraveit65 <[email protected]>2017-11-27 10:13:51 +0100
commitfb1224c38b3c4269fc8ad6591ab258c0d1bad72d (patch)
tree3c58501e641bf3230b8d485346cba800caf7a21c /libview/ev-view.c
parent2e6280dbe736802fa10378add2134017dc54a66c (diff)
downloadatril-fb1224c38b3c4269fc8ad6591ab258c0d1bad72d.tar.bz2
atril-fb1224c38b3c4269fc8ad6591ab258c0d1bad72d.tar.xz
ev-view-accessible: Clear the cached data when the current page
or document is updated. https://bugzilla.gnome.org/show_bug.cgi?id=704621 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=d71e0d7
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index e04d7298..e9f5e745 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7027,6 +7027,10 @@ ev_view_set_model (EvView *view,
g_signal_connect (view->model, "page-changed",
G_CALLBACK (ev_view_page_changed_cb),
view);
+
+ if (view->accessible)
+ ev_view_accessible_set_model (EV_VIEW_ACCESSIBLE (view->accessible),
+ view->model);
}
static void