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.
This commit is contained in:
Lukáš Tyrychtr
2021-09-14 14:33:30 +02:00
committed by Matthias Clasen
parent f7b5c886b3
commit 72ffe46e74

View File

@@ -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);