summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-21 20:39:17 +0200
committerlukefromdc <[email protected]>2019-08-21 21:13:30 +0000
commit00f507ee7021fbdcef017c910ecc73ec76cb3066 (patch)
treee53b5c639db7635184e54cbc62c08a3dc06aeeaa /libview/ev-view.c
parent1ba7259bc46263af1082b0b4184d5468aa84c0e4 (diff)
downloadatril-00f507ee7021fbdcef017c910ecc73ec76cb3066.tar.bz2
atril-00f507ee7021fbdcef017c910ecc73ec76cb3066.tar.xz
ev-view: Remove unused variables and assignment
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 90f9d3cb..02860a88 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5827,7 +5827,6 @@ draw_one_page (EvView *view,
cairo_surface_t *selection_surface = NULL;
gint offset_x, offset_y;
cairo_region_t *region = NULL;
- double device_scale_x = 1, device_scale_y = 1;
page_surface = ev_pixbuf_cache_get_surface (view->pixbuf_cache, page);
@@ -5840,8 +5839,6 @@ draw_one_page (EvView *view,
return;
}
- cairo_surface_get_device_scale (page_surface, &device_scale_x, &device_scale_y);
-
if (page == current_page)
ev_view_set_loading (view, FALSE);