From: Matthias Clasen Date: Sat, 8 Oct 2022 01:36:13 +0000 (-0400) Subject: tools: Ignore deprecations X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~182^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4941ef659f9b016dbec3053512aff56c7522e483;p=gtk4.git 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. --- 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;