summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-03 12:23:32 +0200
committerraveit65 <[email protected]>2016-07-03 13:01:21 +0200
commitccf6b7e9e9a831010c00d3802b3506e1d791e2c8 (patch)
tree4923dfdf5f7f7acbbc852d06647adee63d72a6a2 /libview
parent8a9388ebc4deb340a5949cda915d19cf00ddbfc4 (diff)
downloadatril-ccf6b7e9e9a831010c00d3802b3506e1d791e2c8.tar.bz2
atril-ccf6b7e9e9a831010c00d3802b3506e1d791e2c8.tar.xz
ev-view: Fix compile warning
taken from: https://git.gnome.org/browse/evince/commit/?id=4657961
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index fe44c85f..ccafff7b 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1154,7 +1154,7 @@ ev_view_get_max_page_size (EvView *view,
static void
get_page_y_offset (EvView *view, int page, int *y_offset)
{
- int max_width, offset;
+ int max_width, offset = 0;
GtkBorder border;
g_return_if_fail (y_offset != NULL);