From e09287a109cf1da376b026e44c91d129494a779c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 6 May 2020 17:03:12 -0400 Subject: [PATCH] nodeeditor: Don't use container api on list box rows GtkListBoxRow is not a container anymore. --- demos/node-editor/node-editor-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/node-editor/node-editor-window.c b/demos/node-editor/node-editor-window.c index 7bda0679d4..06214d282c 100644 --- a/demos/node-editor/node-editor-window.c +++ b/demos/node-editor/node-editor-window.c @@ -796,7 +796,7 @@ node_editor_window_create_renderer_widget (gpointer item, gtk_container_add (GTK_CONTAINER (box), picture); row = gtk_list_box_row_new (); - gtk_container_add (GTK_CONTAINER (row), box); + gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box); gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), FALSE); return row;