summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-06-25 07:01:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-06-25 07:01:26 -0400
commitf8b7623b3c5c056fcc1d2fd15df8ec62006b44d7 (patch)
treeaba08c46b56b58c75186ee80465ed30531c027b7
parente9e9dfade6e975bac94bc0092eb7e5b6c332c19c (diff)
downloadgtk+-f8b7623b3c5c056fcc1d2fd15df8ec62006b44d7.tar.gz
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.
-rw-r--r--gtk/gtk-builder-tool.c2
1 files changed, 2 insertions, 0 deletions
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;