summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pdf-inspector.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc
index acea6e7f..ac2fa305 100644
--- a/test/pdf-inspector.cc
+++ b/test/pdf-inspector.cc
@@ -30,6 +30,7 @@
#include "PDFDoc.h"
#include "GlobalParams.h"
+#include "SplashOutputDev.h"
#include "ErrorCodes.h"
#include <gtk/gtk.h>
#include <glade/glade.h>
@@ -66,7 +67,7 @@ private:
GladeXML *xml;
GtkTreeModel *model;
PDFDoc *doc;
- CairoOutputDev *output;
+ SplashOutputDev *output;
};
@@ -128,7 +129,11 @@ PdfInspector::PdfInspector(void)
gtk_tree_view_column_set_sort_column_id (column, i);
}
doc = NULL;
- output = new CairoOutputDev ();
+ SplashColor white;
+ white[0] = 255;
+ white[1] = 255;
+ white[2] = 255;
+ output = new SplashOutputDev(splashModeRGB8, 4, gFalse, white);
// set up initial widgets
load (NULL);