[gtk/deprecate-render: 47/48] testsuite: Ignore deprecations




commit 71fb203b64bf3c68471039f07829e9b8bea44104
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 10 08:55:10 2022 -0400

    testsuite: Ignore deprecations
    
    Some of our tests use deprecated style context
    apis. Ignore the deprecations for now.

 testsuite/css/change/test-css-change.c | 2 ++
 testsuite/css/nodes/test-css-nodes.c   | 1 +
 testsuite/css/style/test-css-style.c   | 2 ++
 3 files changed, 5 insertions(+)
---
diff --git a/testsuite/css/change/test-css-change.c b/testsuite/css/change/test-css-change.c
index 24650fa4c2..9d918ebfb6 100644
--- a/testsuite/css/change/test-css-change.c
+++ b/testsuite/css/change/test-css-change.c
@@ -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
diff --git a/testsuite/css/nodes/test-css-nodes.c b/testsuite/css/nodes/test-css-nodes.c
index d8dd50471e..038f9daf58 100644
--- a/testsuite/css/nodes/test-css-nodes.c
+++ b/testsuite/css/nodes/test-css-nodes.c
@@ -27,6 +27,7 @@
 # include <io.h>
 #endif
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 
 static char *
 test_get_reference_file (const char *ui_file)
diff --git a/testsuite/css/style/test-css-style.c b/testsuite/css/style/test-css-style.c
index 68e8bfefcf..7875b94838 100644
--- a/testsuite/css/style/test-css-style.c
+++ b/testsuite/css/style/test-css-style.c
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]