From 4941ef659f9b016dbec3053512aff56c7522e483 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 7 Oct 2022 21:36:13 -0400 Subject: [PATCH] tools: Ignore deprecations For now, just ignore deprecations. Eventually, we will have to go through and drop code that is dealing with widgets that are going away. --- tools/gtk-builder-tool-simplify.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gtk-builder-tool-simplify.c b/tools/gtk-builder-tool-simplify.c index 21dcfa2dc6..b66b4143ce 100644 --- a/tools/gtk-builder-tool-simplify.c +++ b/tools/gtk-builder-tool-simplify.c @@ -367,10 +367,12 @@ get_property_pspec (MyParserData *data, { GObjectClass *cell_class; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* We're just assuming that the cell layout is using a GtkCellAreaBox. */ cell_class = g_type_class_ref (GTK_TYPE_CELL_AREA_BOX); pspec = gtk_cell_area_class_find_cell_property (GTK_CELL_AREA_CLASS (cell_class), canonical_name); g_type_class_unref (cell_class); +G_GNUC_END_IGNORE_DEPRECATIONS } break;