[evince] [previewer] Use model api instead of EvView to set continuous mode



commit 7d3a9e19b3ff01ce52c35075d4f80cbcddaaf478
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Dec 13 17:22:37 2009 +0100

    [previewer] Use model api instead of EvView to set continuous mode

 previewer/ev-previewer-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index a3ea75c..48843d6 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -498,7 +498,7 @@ ev_previewer_window_constructor (GType                  type,
 
 	window->view = EV_VIEW (ev_view_new ());
 	ev_view_set_model (window->view, window->model);
-	ev_view_set_continuous (window->view, FALSE);
+	ev_document_model_set_continuous (window->model, FALSE);
 	ev_view_set_loading (window->view, TRUE);
 
 	gtk_container_add (GTK_CONTAINER (window->swindow), GTK_WIDGET (window->view));



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