summaryrefslogtreecommitdiff
path: root/tests/testlist4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testlist4.c')
-rw-r--r--tests/testlist4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlist4.c b/tests/testlist4.c
index d820d58b52..bae109f989 100644
--- a/tests/testlist4.c
+++ b/tests/testlist4.c
@@ -79,7 +79,7 @@ create_row (const gchar *text)
row_content = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
label = gtk_label_new (text);
- gtk_container_add (GTK_CONTAINER (row_content), label);
+ gtk_box_append (GTK_BOX (row_content), label);
return row_content;
}