summaryrefslogtreecommitdiff
path: root/unotest/source
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-02-21 16:18:45 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2022-02-22 10:19:12 +0100
commitb910044514cfdeff2967eab248d03b2e9c5ca863 (patch)
treed5949527b55e3d87983e400700ba5fabed147e97 /unotest/source
parentc688fd1393dccfb3df39bd05cceed1cf0c401b02 (diff)
gtk3 a11y: Just use ATK constants for roles
The ATK role used here that was added to ATK latest is ATK_ROLE_FOOTNOTE, which was added in ATK 2.26. With a minimum ATK version of ATK 2.28.1 (s.a. Change-Id: Id7084366d2359deb60948b8969c1d3dcc68ddb47 "gtk3 a11y: Require atk >= 2.28.1, drop code for < 2.15.2"), all constants can simply be used as is, so drop the special handling that was there for older ATK versions which involved calling 'atk_role_register' that was deprecated in ATK 2.12 [1]: > Deprecated since: > Since 2.12. If your application/toolkit doesn’t find a suitable > role for a specific object defined at AtkRole, please submit a > bug in order to add a new role to the specification. [1] https://docs.gtk.org/atk/type_func.Role.register.html Change-Id: I93579e84576feb1bcae8cecf2dc8b264e8be3153 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130329 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'unotest/source')
0 files changed, 0 insertions, 0 deletions