summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 545942e3..334540c6 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7088,6 +7088,13 @@ ev_view_zoom_out (EvView *view)
ev_view_zoom (view, ZOOM_OUT_FACTOR);
}
+void
+ev_view_zoom_reset (EvView *view)
+{
+ g_return_if_fail (view->sizing_mode == EV_SIZING_FREE);
+ ev_document_model_set_scale (view->model, 1.2);
+}
+
static double
zoom_for_size_fit_width (gdouble doc_width,
gdouble doc_height,