testsuite: Ignore deprecations
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Oct 2022 12:55:10 +0000 (08:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 12 Oct 2022 19:35:00 +0000 (15:35 -0400)
Some of our tests use deprecated style context
apis. Ignore the deprecations for now.

testsuite/css/change/test-css-change.c
testsuite/css/nodes/test-css-nodes.c
testsuite/css/style/test-css-style.c

index 24650fa4c2686f76cb307feeeeacf585936f1869..9d918ebfb6469e35abb979009a2198e983637a32 100644 (file)
@@ -23,6 +23,8 @@
 #include <gtk/gtk.h>
 #include "testsuite/testutils.h"
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 #ifdef G_OS_WIN32
 # include <io.h>
 #endif
index d8dd50471e556ab3e728b88eb3e9382bb2485c05..038f9daf58d8861b9a33e6d9e390a3a4908199bf 100644 (file)
@@ -27,6 +27,7 @@
 # include <io.h>
 #endif
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 
 static char *
 test_get_reference_file (const char *ui_file)
index 68e8bfefcf949ade639cfc9df5fce15c1f20c66a..7875b94838c9afd88ec09cda10708b5696f9f600 100644 (file)
@@ -27,6 +27,8 @@
 # include <io.h>
 #endif
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 /* There shall be no other styles */
 #define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT