From 85950afbbd4dabe360b9f8b885dca1a35663641c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Nov 2019 08:47:35 -0500 Subject: [PATCH] builder-tool: Fix handling of layout properties We were not properly identifying layout properties that need to be kept, causing GtkGrid left-attachment to go missing in widget-factory.ui. --- gtk/tools/gtk-builder-tool-simplify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/tools/gtk-builder-tool-simplify.c b/gtk/tools/gtk-builder-tool-simplify.c index dc6462882e..03cb931107 100644 --- a/gtk/tools/gtk-builder-tool-simplify.c +++ b/gtk/tools/gtk-builder-tool-simplify.c @@ -181,8 +181,8 @@ needs_explicit_setting (GParamSpec *pspec, { "GtkRadioButton", "draw-indicator", PROP_KIND_OBJECT }, { "GtkWidget", "hexpand", PROP_KIND_OBJECT }, { "GtkWidget", "vexpand", PROP_KIND_OBJECT }, - { "GtkGrid", "top-attach", PROP_KIND_LAYOUT }, - { "GtkGrid", "left-attach", PROP_KIND_LAYOUT }, + { "GtkGridLayoutChild", "top-attach", PROP_KIND_LAYOUT }, + { "GtkGridLayoutChild", "left-attach", PROP_KIND_LAYOUT }, }; gboolean found; gint k;