forked from AuroraMiddleware/gtk
testsuite: Ignore deprecations
Some of our tests use deprecated style context apis. Ignore the deprecations for now.
This commit is contained in:
parent
b1ec43ae33
commit
ccaaff406f
@ -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
|
||||
|
@ -27,6 +27,7 @@
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
|
||||
static char *
|
||||
test_get_reference_file (const char *ui_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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user