a11y: Fix a few glitches in the role enum

When the enumeration was synced with the latest draft
of the ARIA spec, the math and note roles missed the boat.
This commit is contained in:
Matthias Clasen 2020-07-28 22:07:44 -04:00
parent fc47e79cb6
commit e07b9605bc

View File

@ -1187,19 +1187,21 @@ typedef enum {
* @GTK_ACCESSIBLE_ROLE_LANDMARK: Unused
* @GTK_ACCESSIBLE_ROLE_LEGEND: Unused
* @GTK_ACCESSIBLE_ROLE_LINK: Unused
* @GTK_ACCESSIBLE_ROLE_LIST: Unused
* @GTK_ACCESSIBLE_ROLE_LIST_BOX: Unused
* @GTK_ACCESSIBLE_ROLE_LIST_ITEM: Unused
* @GTK_ACCESSIBLE_ROLE_LOG: Unused
* @GTK_ACCESSIBLE_ROLE_MAIN: Unused
* @GTK_ACCESSIBLE_ROLE_MARQUEE: Unused
* @GTK_ACCESSIBLE_ROLE_METER: Unused
* @GTK_ACCESSIBLE_ROLE_MATH: Unused
* @GTK_ACCESSIBLE_ROLE_METER: Unused
* @GTK_ACCESSIBLE_ROLE_MENU: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_BAR: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: Unused
* @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
* @GTK_ACCESSIBLE_ROLE_NONE: Unused
* @GTK_ACCESSIBLE_ROLE_NOTE: Unused
* @GTK_ACCESSIBLE_ROLE_OPTION: Unused
* @GTK_ACCESSIBLE_ROLE_PRESENTATION: Unused
@ -1285,6 +1287,7 @@ typedef enum {
GTK_ACCESSIBLE_ROLE_LOG,
GTK_ACCESSIBLE_ROLE_MAIN,
GTK_ACCESSIBLE_ROLE_MARQUEE,
GTK_ACCESSIBLE_ROLE_MATH,
GTK_ACCESSIBLE_ROLE_METER,
GTK_ACCESSIBLE_ROLE_MENU,
GTK_ACCESSIBLE_ROLE_MENU_BAR,
@ -1293,6 +1296,7 @@ typedef enum {
GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO,
GTK_ACCESSIBLE_ROLE_NAVIGATION,
GTK_ACCESSIBLE_ROLE_NONE,
GTK_ACCESSIBLE_ROLE_NOTE,
GTK_ACCESSIBLE_ROLE_OPTION,
GTK_ACCESSIBLE_ROLE_PRESENTATION,
GTK_ACCESSIBLE_ROLE_PROGRESS_BAR,