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.
This commit is contained in:
Matthias Clasen 2015-09-14 09:38:08 -04:00
parent 75057db990
commit 76810e110b

View File

@ -171,6 +171,8 @@ needs_explicit_setting (MyParserData *data,
{ "GtkWidget", "hexpand", 0 }, { "GtkWidget", "hexpand", 0 },
{ "GtkWidget", "vexpand", 0 }, { "GtkWidget", "vexpand", 0 },
{ "GtkContainer", "border-width", 0 }, { "GtkContainer", "border-width", 0 },
{ "GtkVBox", "expand", 1 },
{ "GtkHBox", "expand", 1 },
{ NULL, NULL, 0 } { NULL, NULL, 0 }
}; };
gchar *canonical_name; gchar *canonical_name;