elm_genlist: fix break at efl migration. 37/194537/1
authorjsuya <jsuya.choi@samsung.com>
Wed, 5 Dec 2018 10:55:46 +0000 (19:55 +0900)
committerjsuya <jsuya.choi@samsung.com>
Wed, 5 Dec 2018 10:57:19 +0000 (19:57 +0900)
Change-Id: I426869a5988d9e213be3b44087f03610035a771e
Signed-off-by: jsuya <jsuya.choi@samsung.com>
src/lib/elementary_tizen/elm_genlist.c
src/lib/elementary_tizen/elm_widget_genlist.h

index 9c71405..1111bda 100644 (file)
@@ -9777,6 +9777,14 @@ _elm_genlist_item_efl_access_component_highlight_clear(Eo *eo_it, Elm_Gen_Item *
 }
 //
 
+EOLIAN static Efl_Ui_Focus_Object*
+_elm_genlist_item_efl_ui_focus_object_focus_parent_get(const Eo *obj EINA_UNUSED, Elm_Gen_Item *pd)
+{
+   if (!pd->item->block) return NULL;
+   return pd->item->block->adapter;
+}
+
+
 /* Standard widget overrides */
 
 ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_genlist, Elm_Genlist_Data)
index 9fc0f98..682adb1 100644 (file)
@@ -382,6 +382,7 @@ struct _Item_Block
    Evas_Coord              x, y, w, h, minw, minh;
    int                     position;
    int                     item_position_stamp;
+   Eo                     *adapter;
 
    Eina_Bool               position_update : 1;
    Eina_Bool               want_unrealize : 1;