From 8afae8de2e19911b949e56c7a1f0dc1efc8b0e52 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Sun, 2 Mar 2014 01:24:23 +0900 Subject: [PATCH] widget: removed unused widget item member 'focused'. --- legacy/elementary/src/lib/elm_list.c | 1 - legacy/elementary/src/lib/elm_widget.h | 1 - 2 files changed, 2 deletions(-) diff --git a/legacy/elementary/src/lib/elm_list.c b/legacy/elementary/src/lib/elm_list.c index 54e93225ca..59314c44fe 100644 --- a/legacy/elementary/src/lib/elm_list.c +++ b/legacy/elementary/src/lib/elm_list.c @@ -1005,7 +1005,6 @@ _elm_list_item_focused(Elm_List_Item *it) if ((x < sx) || (y < sy)|| ((x + w) > (sx + sw)) || ((y + h) > (sy + sh))) elm_list_item_bring_in((Elm_Object_Item *)it); sd->focused_item = (Elm_Object_Item *)it; - ((Elm_Widget_Item *)it)->focused = EINA_TRUE; if (elm_widget_focus_highlight_enabled_get(WIDGET(it))) { edje_object_signal_emit diff --git a/legacy/elementary/src/lib/elm_widget.h b/legacy/elementary/src/lib/elm_widget.h index 52ccc1038e..f95f514bb1 100644 --- a/legacy/elementary/src/lib/elm_widget.h +++ b/legacy/elementary/src/lib/elm_widget.h @@ -603,7 +603,6 @@ struct _Elm_Widget_Item Eina_Bool disabled : 1; Eina_Bool on_deletion : 1; Eina_Bool on_translate : 1; - Eina_Bool focused : 1; }; struct _Elm_Object_Item