[gtk/matthiasc/for-master] builder-tool: Fix handling of layout properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] builder-tool: Fix handling of layout properties
- Date: Fri, 29 Nov 2019 13:49:07 +0000 (UTC)
commit 85950afbbd4dabe360b9f8b885dca1a35663641c
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 29 08:47:35 2019 -0500
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]