summaryrefslogtreecommitdiff
path: root/test/any2ppm.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-04-18 11:18:10 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-04-27 16:54:22 +0100
commit0bbb9de8069fca5685568b9cf475da45da9fc554 (patch)
tree4b4ce6c55039c2b524b40c1cd4d20f009cd4700b /test/any2ppm.c
parentb7d38e048fb44f60e3a4d0f9d49fdd21259afc4a (diff)
downloadcairo-0bbb9de8069fca5685568b9cf475da45da9fc554.tar.gz
Disable deprecation warnings from librsvg
This is a test utility, we don't really care about deprecations.
Diffstat (limited to 'test/any2ppm.c')
-rw-r--r--test/any2ppm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/any2ppm.c b/test/any2ppm.c
index 8d8d2f2cf..b3f1308ea 100644
--- a/test/any2ppm.c
+++ b/test/any2ppm.c
@@ -69,6 +69,7 @@
#endif
#if CAIRO_CAN_TEST_SVG_SURFACE
+#define RSVG_DISABLE_DEPRECATION_WARNINGS
#include <librsvg/rsvg.h>
#ifndef RSVG_CAIRO_H
#include <librsvg/rsvg-cairo.h>