From a7abb394e812c8495cbba580f98a728aa0b516e5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 May 2020 12:26:50 -0400 Subject: [PATCH] Fix a leftover list box child We were still using container api on a list box child here. --- demos/constraint-editor/constraint-editor-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/constraint-editor/constraint-editor-window.c b/demos/constraint-editor/constraint-editor-window.c index 2a7b228028..bf18b6acc1 100644 --- a/demos/constraint-editor/constraint-editor-window.c +++ b/demos/constraint-editor/constraint-editor-window.c @@ -607,7 +607,7 @@ create_widget_func (gpointer item, gtk_widget_set_margin_bottom (label, 10); gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_widget_set_hexpand (label, TRUE); - gtk_container_add (GTK_CONTAINER (row), box); + gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box); gtk_container_add (GTK_CONTAINER (box), label); if (GTK_IS_CONSTRAINT (item) || GTK_IS_CONSTRAINT_GUIDE (item))