[evince] view: Fix compile warning



commit 4657961523572db153fcf40a8ff1d122558fc996
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Dec 23 13:20:46 2012 +0100

    view: Fix compile warning

 libview/ev-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 7da6323..576b2a7 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1089,7 +1089,7 @@ ev_view_get_max_page_size (EvView *view,
 static void
 get_page_y_offset (EvView *view, int page, int *y_offset)
 {
-	int offset;
+	int offset = 0;
 	GtkBorder border;
 
 	g_return_if_fail (y_offset != NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]