[gtk/deprecate-all-the-cells: 9/9] tools: Ignore deprecations




commit fa5252d7bba6f6d6ffb979f616ef15f428911470
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 7 21:36:13 2022 -0400

    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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]