[gtk/deprecate-render: 36/36] tests: Ignore deprecations for render api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/deprecate-render: 36/36] tests: Ignore deprecations for render api
- Date: Sun, 9 Oct 2022 12:13:11 +0000 (UTC)
commit 1db505ab981538de5d58b1c16119121f5fddde39
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]