summaryrefslogtreecommitdiff
path: root/test/pdf2png.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2016-04-16 17:42:56 +0930
committerAdrian Johnson <ajohnson@redneon.com>2016-04-16 17:42:56 +0930
commit11667ec47c69e3aa7b7128ddb39375f3ae4a0814 (patch)
treed887077f0f30cba1b86d946e163946f5ff825d01 /test/pdf2png.c
parentd2f1ebf579ba12b816eec9317f98eb845fbfeb4f (diff)
pdf2png: fix deprecated warning
Diffstat (limited to 'test/pdf2png.c')
-rw-r--r--test/pdf2png.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pdf2png.c b/test/pdf2png.c
index 06fa05b18..23691221e 100644
--- a/test/pdf2png.c
+++ b/test/pdf2png.c
@@ -49,7 +49,9 @@ int main (int argc, char *argv[])
if (argc != 4)
FAIL ("usage: pdf2png input_file.pdf output_file.png page");
+#if !GLIB_CHECK_VERSION(2,36,0)
g_type_init ();
+#endif
if (g_path_is_absolute(filename)) {
absolute = g_strdup (filename);