summaryrefslogtreecommitdiff
path: root/test/gtk-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtk-test.cc')
-rw-r--r--test/gtk-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtk-test.cc b/test/gtk-test.cc
index 1e9e1ee1..dd339fbe 100644
--- a/test/gtk-test.cc
+++ b/test/gtk-test.cc
@@ -329,7 +329,7 @@ view_new (PopplerDocument *doc)
view->out = new GDKSplashOutputDev (gtk_widget_get_screen (window),
redraw_callback, (void*) view, sc);
- view->out->startDoc(view->doc->doc->getXRef());
+ view->out->startDoc(view->doc->doc);
}
g_signal_connect (view->drawing_area,