eo_do(item, parent = elm_interface_atspi_accessible_parent_get());
while (parent && !eo_isa(parent, ELM_ATSPI_APP_OBJECT_CLASS))
{
- Elm_Widget_Smart_Data *parent_wd = eo_data_scope_get(parent, ELM_WIDGET_ITEM_CLASS);
- if (!parent_wd->can_highlight) return EINA_FALSE;
+ eo_do(parent, can_highlight = elm_interface_atspi_accessible_can_highlight_get());
+ if (!can_highlight) return EINA_FALSE;
eo_do(parent, parent = elm_interface_atspi_accessible_parent_get());
}
return EINA_TRUE;
eo_do(obj, parent = elm_interface_atspi_accessible_parent_get());
while (parent && !eo_isa(parent, ELM_ATSPI_APP_OBJECT_CLASS))
{
- Elm_Widget_Smart_Data *parent_wd = eo_data_scope_get(parent, ELM_WIDGET_CLASS);
- if (!parent_wd->can_highlight) return EINA_FALSE;
+ eo_do(parent, can_highlight = elm_interface_atspi_accessible_can_highlight_get());
+ if (!can_highlight) return EINA_FALSE;
eo_do(parent, parent = elm_interface_atspi_accessible_parent_get());
}
return EINA_TRUE;