tests/examples: #define GDK_DISABLE_DEPRECATION_WARNINGS

We use gdk_cairo_create() which is deprecated since 3.22.
This commit is contained in:
Sebastian Dröge 2016-09-01 10:59:51 +03:00
parent 9cc497e5c3
commit 63b0e519fa
3 changed files with 9 additions and 0 deletions

View file

@ -17,6 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
/* TODO: We use gdk_cairo_create() and others, which are deprecated */
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <stdlib.h>
#include <string.h>
#include <math.h>

View file

@ -35,6 +35,9 @@
#include "config.h"
#endif
/* TODO: We use gdk_cairo_create() and others, which are deprecated */
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -21,6 +21,9 @@
#include "config.h"
#endif
/* TODO: We use gdk_cairo_create() and others, which are deprecated */
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>