a11y: Remove separator menu item special case

gtkseparator.c already takes care of this case.
This commit is contained in:
Benjamin Otte 2011-07-18 18:05:00 +02:00
parent 1f4b524558
commit 54e1caa428

View File

@ -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;
}