mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
a11y: Don't mark properties changed for unrealized AT contexts
That might cause, for example, a description change notification for a widget which was not seen by the AT previously. Fixes #6454.
This commit is contained in:
parent
d828f2477e
commit
1d7983da05
@ -909,7 +909,7 @@ gtk_at_context_set_accessible_property (GtkATContext *self,
|
||||
else
|
||||
res = gtk_accessible_attribute_set_remove (self->properties, property);
|
||||
|
||||
if (res)
|
||||
if (res && self->realized)
|
||||
self->updated_properties |= (1 << property);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user