mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-31 19:30:13 +01:00
Disable deprecation warnings from librsvg
This is a test utility, we don't really care about deprecations.
This commit is contained in:
parent
b7d38e048f
commit
0bbb9de806
2 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* Disable deprecation warnings coming from librsvg */
|
||||
#define RSVG_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
#define FAIL(msg) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue