seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=fabfacc234a0108f02c9107280764807324ab5d0
commit fabfacc234a0108f02c9107280764807324ab5d0 Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Sat Oct 5 17:13:18 2013 +0900 elm_access.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. --- src/lib/elm_access.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index 398629e..578ad5c 100644 --- a/src/lib/elm_access.c +++ b/src/lib/elm_access.c @@ -472,7 +472,6 @@ _access_highlight_next_get(Evas_Object *obj, Elm_Focus_Direction dir) { int type; Evas_Object *ho, *parent, *target; - Elm_Widget_Smart_Data *wd; Eina_Bool ret; target = NULL; @@ -488,7 +487,7 @@ _access_highlight_next_get(Evas_Object *obj, Elm_Focus_Direction dir) /* find highlight root */ do { - wd = eo_data_scope_get(parent, ELM_OBJ_WIDGET_CLASS); + ELM_WIDGET_DATA_GET_OR_RETURN(parent, wd, ret); if (wd->highlight_root) { /* change highlight root */ @@ -637,7 +636,6 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir) { int type; Evas_Object *ho, *parent; - Elm_Widget_Smart_Data *wd; ho = _access_highlight_object_get(obj); if (!ho) return; @@ -647,7 +645,7 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir) /* find highlight root */ do { - wd = eo_data_scope_get(parent, ELM_OBJ_WIDGET_CLASS); + ELM_WIDGET_DATA_GET_OR_RETURN(parent, wd); if (wd->highlight_root) { /* change highlight root */ --