From f8b7623b3c5c056fcc1d2fd15df8ec62006b44d7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 25 Jun 2015 07:01:26 -0400 Subject: [PATCH] builder-tool: Don't strip h/vexpand Setting these properties has the side-effect of setting the corresponding -set properties, which makes GTK+ behave subtly different. So don't mess with these. --- gtk/gtk-builder-tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtk-builder-tool.c b/gtk/gtk-builder-tool.c index b7a2a4b07e..3223f6f660 100644 --- a/gtk/gtk-builder-tool.c +++ b/gtk/gtk-builder-tool.c @@ -132,6 +132,8 @@ needs_explicit_setting (MyParserData *data, { "GtkRadioButton", "draw-indicator", 0 }, { "GtkGrid", "left-attach", 1 }, { "GtkGrid", "top-attach", 1 }, + { "GtkWidget", "hexpand", 0 }, + { "GtkWidget", "vexpand", 0 }, { NULL, NULL, 0 } }; const gchar *class_name;