Fix a leftover list box child

We were still using container api on a list box child here.
This commit is contained in:
Matthias Clasen 2020-05-08 12:26:50 -04:00
parent 501eda2956
commit a7abb394e8

View File

@ -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))