summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-07-10 15:54:28 +0200
committerCarlos Garcia Campos <carlosgc@gnome.org>2010-07-10 16:02:26 +0200
commit5e4d8eeea0b9dba68420c164975418c76a53be85 (patch)
treea507a3ffd8c88299ee60b7a93c498a8e789f6c3b /test
parente6824972a213a888ca0185b7ae0a75fc23f75797 (diff)
[pdf-inspector] Do not render for printing
Diffstat (limited to 'test')
-rw-r--r--test/pdf-inspector.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc
index 24bebbd6..d4a564d3 100644
--- a/test/pdf-inspector.cc
+++ b/test/pdf-inspector.cc
@@ -132,6 +132,7 @@ PdfInspector::PdfInspector(void)
}
doc = NULL;
output = new CairoOutputDev();
+ output->setPrinting (gFalse);
// set up initial widgets
load (NULL);
@@ -236,7 +237,7 @@ PdfInspector::analyze_page (int page)
cairo_surface_destroy (surface);
output->setCairo (cr);
cairo_destroy (cr);
- doc->displayPage (output, page + 1, 72, 72, 0, gFalse, gTrue, gTrue);
+ doc->displayPage (output, page + 1, 72, 72, 0, gFalse, gTrue, gFalse);
output->setCairo (NULL);
// Total time;