seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=e5b05a9d1176c1a14be226fb80f8370431555728
commit e5b05a9d1176c1a14be226fb80f8370431555728 Author: Daniel Juyung Seo <[email protected]> Date: Tue Mar 4 00:32:05 2014 +0900 list: Do not call unnecessary external API. We already know the internals so make it optimized by using internal data. --- src/lib/elm_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index d1018c9..d18d669 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1062,7 +1062,7 @@ _elm_list_smart_on_focus(Eo *obj, void *_pd, va_list *list) else if (sd->last_selected_item) _elm_list_item_focused((Elm_List_Item *)sd->last_selected_item); else - _elm_list_item_focused((Elm_List_Item *)elm_list_first_item_get(obj)); + _elm_list_item_focused((Elm_List_Item *)eina_list_data_get(sd->items)); _elm_widget_focus_highlight_start(obj); } else --
