[gtk/deprecate-render: 44/48] tests: Ignore deprecations for render api




commit 2c9226fca36212934c8e18367e3291e5cbc35cbd
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]