testsuite: Ignore deprecations

Some of our tests use deprecated style context
apis. Ignore the deprecations for now.
This commit is contained in:
Matthias Clasen 2022-10-10 08:55:10 -04:00
parent b1ec43ae33
commit ccaaff406f
3 changed files with 5 additions and 0 deletions

View 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

View File

@ -27,6 +27,7 @@
# include <io.h>
#endif
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static char *
test_get_reference_file (const char *ui_file)

View 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