diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-06 17:03:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-06 17:03:12 -0400 |
commit | e09287a109cf1da376b026e44c91d129494a779c (patch) | |
tree | 7d43655d8ead911f79f0b4a49f8d4d9fff18177f | |
parent | 68011e99ac068d0934f61f82c013f9beecefc8b9 (diff) | |
download | gtk+-e09287a109cf1da376b026e44c91d129494a779c.tar.gz |
nodeeditor: Don't use container api on list box rows
GtkListBoxRow is not a container anymore.
-rw-r--r-- | demos/node-editor/node-editor-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |