Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-05-12 16:18:37 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-05-12 16:18:37 (GMT)
commitb1e91476f3aa8b27086242c915a4f8b1c9ba1e7c (patch)
tree286fa4f9640c05c2cc8f94f2b3a156751734944e
parent7f09d6fafebe4fcaee4878eea41dd23150a3d8e5 (diff)
[libview] Initialize start/end_page to -1
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 6b03055..a3ac91e 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4551,6 +4551,8 @@ ev_view_init (EvView *view)
{
GTK_WIDGET_SET_FLAGS (view, GTK_CAN_FOCUS);
+ view->start_page = -1;
+ view->end_page = -1;
view->spacing = 5;
view->scale = 1.0;
view->current_page = 0;