a11y: Fix name computation for ranges
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 15:42:10 +0000 (11:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 16:40:32 +0000 (12:40 -0400)
commitc3cfaab479aea0d77bf17d94590a818404b3ca32
treec4d6d29d92c872a3adc80ce99e5ff08e731e9a3e
parent663e3d0811ee9e0625ce7b462661ffaa4eafa5d3
a11y: Fix name computation for ranges

There were two problems here:

First, the code was checking for the abstract
range role, instead of its subclasses.

Second, the code was calling a string value
getter on a number value. Oops.
gtk/gtkatcontext.c