projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b5c88
)
Fix generation of accessible description in presence of described by relations
author
Lukáš Tyrychtr
<lukastyrychtr@gmail.com>
Tue, 14 Sep 2021 12:33:30 +0000
(14:33 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000
(17:52 -0400)
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
patch
|
blob
|
history
diff --git
a/gtk/gtkatcontext.c
b/gtk/gtkatcontext.c
index 83aa94fe5d5c895827742e5354b8aee699f79333..cbb664e2eabf0cee2bffb3e2bda5f68e7d772cca 100644
(file)
--- 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);