tools: Ignore deprecations
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Oct 2022 01:36:13 +0000 (21:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 11 Oct 2022 21:18:21 +0000 (17:18 -0400)
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

index 21dcfa2dc6da0b60ecc46a9970629092a19fbf12..b66b4143ce13d2e244d4aaf32c1fee4567a3ba8f 100644 (file)
@@ -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;