forked from AuroraMiddleware/gtk
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:
parent
75057db990
commit
76810e110b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user