summaryrefslogtreecommitdiff
path: root/tests/testaccel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testaccel.c')
-rw-r--r--tests/testaccel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testaccel.c b/tests/testaccel.c
index 7023e6a57f..0cc7d1600b 100644
--- a/tests/testaccel.c
+++ b/tests/testaccel.c
@@ -75,7 +75,7 @@ key_test (void)
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
gtk_widget_show (box);
gtk_container_add (GTK_CONTAINER (window), box);
- gtk_box_pack_start (GTK_BOX (box), sw);
+ gtk_container_add (GTK_CONTAINER (box), sw);
store = gtk_list_store_new (3, G_TYPE_INT, G_TYPE_UINT, G_TYPE_UINT);
tv = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));