diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-10 08:55:50 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-12 15:35:00 -0400 |
commit | ac3177ce95b270f55e40aaa286817dad2c2562c2 (patch) | |
tree | bdd7e2bb2e4bab4d14031ec51f7186eb39dccd07 /tests | |
parent | ccaaff406fbe4df4bafc9960f13d91896cff3e21 (diff) | |
download | gtk+-ac3177ce95b270f55e40aaa286817dad2c2562c2.tar.gz |
tests: Ignore deprecations
Some of our tests use deprecated style context api.
Most of them should be ported to use global style
providers eventually. For now, ignore deprecations.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgrid.c | 2 | ||||
-rw-r--r-- | tests/testheaderbar.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/testgrid.c b/tests/testgrid.c index e2af187dc5..a311bb69dc 100644 --- a/tests/testgrid.c +++ b/tests/testgrid.c @@ -1,5 +1,7 @@ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static GtkWidget * oriented_test_widget (const char *label, const char *color) { diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c index ebeb971794..fc7ffa5cda 100644 --- a/tests/testheaderbar.c +++ b/tests/testheaderbar.c @@ -1,5 +1,7 @@ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static void unset_title (GtkWidget *window) { |