From 955d50a08057469c045c2897c2978aba8bf50c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tyrychtr?= Date: Tue, 14 Sep 2021 14:33:30 +0200 Subject: [PATCH] Fix generation of accessible description in presence of described by relations The loop going through the relation list should have stopped on the NULL sentinel value, however it never accesed the next list element. --- gtk/gtkatcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkatcontext.c b/gtk/gtkatcontext.c index 83aa94fe5d..cbb664e2ea 100644 --- a/gtk/gtkatcontext.c +++ b/gtk/gtkatcontext.c @@ -1032,7 +1032,7 @@ gtk_at_context_get_description_accumulate (GtkATContext *self, GList *list = gtk_reference_list_accessible_value_get (value); - for (GList *l = list; l != NULL; l = l->data) + for (GList *l = list; l != NULL; l = l->next) { GtkAccessible *rel = GTK_ACCESSIBLE (l->data); GtkATContext *rel_context = gtk_accessible_get_at_context (rel);