a11y: Be safe against state type changes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2022 20:06:02 +0000 (16:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2022 20:07:24 +0000 (16:07 -0400)
commit4c1bc93f6fb9d2636e41baba45d44506bdd2bce3
tree797f2610da1218dd1145055cc47d9eab12609838
parent7dd3289837041056590c0915a3a8bfc22e1a10f5
a11y: Be safe against state type changes

For some of the a11y states, calling gtk_accessible_reset_state
can change the type of the state value from boolean or tristate
to undefined.

Handle that, instead of throwing criticals.

Related: !4910
gtk/a11y/gtkatspicontext.c