[gtk/deprecate-render: 36/43] tests: Ignore deprecations for render api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/deprecate-render: 36/43] tests: Ignore deprecations for render api
- Date: Wed, 12 Oct 2022 19:35:10 +0000 (UTC)
commit 299fbfd72211f168a1c8d9b46a651e01ea0d0403
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 9 08:05:28 2022 -0400
tests: Ignore deprecations for render api
tests/input.c | 2 ++
tests/testwidgetfocus.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]