diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-14 09:38:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-14 11:15:12 -0400 |
commit | 76810e110b9a90019de285b9f018b6ba356e5071 (patch) | |
tree | 10d256e68711edbf1d9ab2f535437aa6ecae0d0c /gtk/gtk-builder-tool.c | |
parent | 75057db990d630b2f0532c40cb666ce9c40fbbbe (diff) | |
download | gtk+-76810e110b9a90019de285b9f018b6ba356e5071.tar.gz |
gtk-builder-tool: Don't break GtkHBox and GtkVBox
These classes have different defaults for ::expand than GtkBox,
which is not reflected in the declared default, so we have to
blacklist it.
Diffstat (limited to 'gtk/gtk-builder-tool.c')
-rw-r--r-- | gtk/gtk-builder-tool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtk-builder-tool.c b/gtk/gtk-builder-tool.c index 7ad4733fea..b5bc8c6855 100644 --- a/gtk/gtk-builder-tool.c +++ b/gtk/gtk-builder-tool.c @@ -171,6 +171,8 @@ needs_explicit_setting (MyParserData *data, { "GtkWidget", "hexpand", 0 }, { "GtkWidget", "vexpand", 0 }, { "GtkContainer", "border-width", 0 }, + { "GtkVBox", "expand", 1 }, + { "GtkHBox", "expand", 1 }, { NULL, NULL, 0 } }; gchar *canonical_name; |