[gtk/deprecate-render: 4/4] tests: Ignore deprecations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/deprecate-render: 4/4] tests: Ignore deprecations
- Date: Mon, 10 Oct 2022 14:55:25 +0000 (UTC)
commit 950ca002ea5f90217d6b17f9e7ded612f165795e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 10 08:55:50 2022 -0400
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.
tests/testgrid.c | 2 ++
tests/testheaderbar.c | 2 ++
2 files changed, 4 insertions(+)
---
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]