]> www.fi.muni.cz Git - evince.git/commitdiff
[previewer] Use model api instead of EvView to set continuous mode
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 13 Dec 2009 16:22:37 +0000 (17:22 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 13 Dec 2009 16:22:37 +0000 (17:22 +0100)
previewer/ev-previewer-window.c

index a3ea75c1c73f991217f02dec92bcfc694a1ca45b..48843d6280897de92205af4c48e0c5c4717141b2 100644 (file)
@@ -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));