[gtk/gtk-4-4] Fix generation of accessible description in presence of described by relations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-4] Fix generation of accessible description in presence of described by relations
- Date: Sun, 31 Oct 2021 21:52:13 +0000 (UTC)
commit 72ffe46e74ef39e837e4402e3e8e88c58a347b81
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date: Tue Sep 14 14:33:30 2021 +0200
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]