forked from AuroraMiddleware/gtk
paned: Don't ignore the type attribute
We were meaning to only handle <child> here for compatibility, not <child type="somethingelse">.
This commit is contained in:
parent
a37dc29850
commit
b230ea2140
@ -772,7 +772,7 @@ gtk_paned_buildable_add_child (GtkBuildable *buildable,
|
||||
gtk_paned_set_resize_end_child (self, TRUE);
|
||||
gtk_paned_set_shrink_end_child (self, TRUE);
|
||||
}
|
||||
else if (GTK_IS_WIDGET (child))
|
||||
else if (type == NULL && GTK_IS_WIDGET (child))
|
||||
{
|
||||
if (self->start_child == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user