diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-09 08:05:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-12 15:35:00 -0400 |
commit | 299fbfd72211f168a1c8d9b46a651e01ea0d0403 (patch) | |
tree | 89bf25363b7fa6fe910110548e5c446c2a5b89ca /tests | |
parent | 5f54ecdf2c5fa750c9cf37835de818547324f344 (diff) | |
download | gtk+-299fbfd72211f168a1c8d9b46a651e01ea0d0403.tar.gz |
tests: Ignore deprecations for render api
Diffstat (limited to 'tests')
-rw-r--r-- | tests/input.c | 2 | ||||
-rw-r--r-- | tests/testwidgetfocus.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/input.c b/tests/input.c index 01099d2129..fcb7613848 100644 --- a/tests/input.c +++ b/tests/input.c @@ -2,6 +2,8 @@ */ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + G_DECLARE_FINAL_TYPE (DemoWidget, demo_widget, DEMO, WIDGET, GtkWidget) struct _DemoWidget diff --git a/tests/testwidgetfocus.c b/tests/testwidgetfocus.c index e28d4aa794..fa58fad2c1 100644 --- a/tests/testwidgetfocus.c +++ b/tests/testwidgetfocus.c @@ -1,6 +1,6 @@ #include <gtk/gtk.h> - +G_GNUC_BEGIN_IGNORE_DEPRECATIONS typedef struct _GtkFocusWidget GtkFocusWidget; typedef struct _GtkFocusWidgetClass GtkFocusWidgetClass; |