summaryrefslogtreecommitdiff
path: root/testsuite/a11y/expander.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/a11y/expander.c')
-rw-r--r--testsuite/a11y/expander.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuite/a11y/expander.c b/testsuite/a11y/expander.c
index 169898f796..07d605622b 100644
--- a/testsuite/a11y/expander.c
+++ b/testsuite/a11y/expander.c
@@ -31,15 +31,12 @@ expander_relations (void)
{
GtkWidget *widget = gtk_expander_new ("Hello");
GtkWidget *child = gtk_label_new ("Child");
- GList *list;
g_object_ref_sink (widget);
gtk_expander_set_child (GTK_EXPANDER (widget), child);
- list = g_list_append (NULL, child);
- gtk_test_accessible_assert_relation (widget, GTK_ACCESSIBLE_RELATION_CONTROLS, list);
- g_list_free (list);
+ gtk_test_accessible_assert_relation (widget, GTK_ACCESSIBLE_RELATION_CONTROLS, child, NULL);
g_object_unref (widget);
}