summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-03-04 00:32:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-03-04 00:33:13 +0900
commite5b05a9d1176c1a14be226fb80f8370431555728 (patch)
tree04b5599aa9317b5c1ac5008589145752e15da6c1 /src/lib
parentb3c7cdd32f7451c388624ada98185b4b9ec9de9e (diff)
list: Do not call unnecessary external API.
We already know the internals so make it optimized by using internal data.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index d1018c9ad..d18d669e5 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)
1062 else if (sd->last_selected_item) 1062 else if (sd->last_selected_item)
1063 _elm_list_item_focused((Elm_List_Item *)sd->last_selected_item); 1063 _elm_list_item_focused((Elm_List_Item *)sd->last_selected_item);
1064 else 1064 else
1065 _elm_list_item_focused((Elm_List_Item *)elm_list_first_item_get(obj)); 1065 _elm_list_item_focused((Elm_List_Item *)eina_list_data_get(sd->items));
1066 _elm_widget_focus_highlight_start(obj); 1066 _elm_widget_focus_highlight_start(obj);
1067 } 1067 }
1068 else 1068 else