[gtk/kill-containers: 37/99] Fix a leftover list box child
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-containers: 37/99] Fix a leftover list box child
- Date: Sun, 10 May 2020 02:26:09 +0000 (UTC)
commit 3f5162c371bb82746b462abc4db20d06f9c0e710
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 8 12:26:50 2020 -0400
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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]