From 45a997c88e4bfe2e6fb1126520b619cbc0b74fcb Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 17 Dec 2013 16:32:50 +0100 Subject: [PATCH] More consts Signed-off-by: Sebastian Ramacher --- zathura.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zathura.c b/zathura.c index 647bc8d..9caa762 100644 --- a/zathura.c +++ b/zathura.c @@ -786,8 +786,8 @@ document_open(zathura_t* zathura, const char* path, const char* password, /* adjust_view calls render_all in some cases and render_all calls * gtk_widget_set_size_request. To be sure that it's really called, do it * here once again. */ - double height = zathura_page_get_height(page); - double width = zathura_page_get_width(page); + const double height = zathura_page_get_height(page); + const double width = zathura_page_get_width(page); page_calc_height_width(zathura->document, height, width, &page_height, &page_width, true); gtk_widget_set_size_request(zathura->pages[page_id], page_width, page_height);