forked from AuroraMiddleware/gtk
a11y: Remove separator menu item special case
gtkseparator.c already takes care of this case.
This commit is contained in:
parent
1f4b524558
commit
54e1caa428
@ -67,8 +67,6 @@ gtk_menu_item_accessible_initialize (AtkObject *obj,
|
||||
|
||||
if (GTK_IS_TEAROFF_MENU_ITEM (data))
|
||||
obj->role = ATK_ROLE_TEAR_OFF_MENU_ITEM;
|
||||
else if (GTK_IS_SEPARATOR_MENU_ITEM (data))
|
||||
obj->role = ATK_ROLE_SEPARATOR;
|
||||
else
|
||||
obj->role = ATK_ROLE_MENU_ITEM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user