From b230ea2140fc20846e4f4ea153c7dc044efa8825 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 May 2020 16:26:28 -0400 Subject: [PATCH] paned: Don't ignore the type attribute We were meaning to only handle here for compatibility, not . --- gtk/gtkpaned.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 29ebdf350b..a789fb97d1 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -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) {