tests: Ignore deprecations
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Oct 2022 12:55:50 +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 api.
Most of them should be ported to use global style
providers eventually. For now, ignore deprecations.

tests/testgrid.c
tests/testheaderbar.c

index e2af187dc5a7f1c5dc26295be3514839f6df7b81..a311bb69dc1ccd14f9d4144c79a28308b278e89e 100644 (file)
@@ -1,5 +1,7 @@
 #include <gtk/gtk.h>
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 static GtkWidget *
 oriented_test_widget (const char *label, const char *color)
 {
index ebeb971794a763317ae1cc120d4b6853ef9d9fb1..fc7ffa5cdade665afa74181566d92ba2fb4e8612 100644 (file)
@@ -1,5 +1,7 @@
 #include <gtk/gtk.h>
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 static void
 unset_title (GtkWidget *window)
 {