Commit 63b0e519 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

tests/examples: #define GDK_DISABLE_DEPRECATION_WARNINGS

We use gdk_cairo_create() which is deprecated since 3.22.
parent 9cc497e5
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment