From: Jaehyun Cho Date: Tue, 2 Apr 2019 07:39:40 +0000 (+0900) Subject: Revert "efl_ui_pager: implement unpack_at function" X-Git-Tag: accepted/tizen/unified/20190410.002130~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=010e960519e7212f29b91e47831665a7f4d7b3dc;p=platform%2Fupstream%2Fefl.git Revert "efl_ui_pager: implement unpack_at function" This reverts commit 913a5bff66dd7a58753ccae1474657ec33350e43. The commit is reverted because the commit implements features during feature freeze period before release. 913a5bff66dd7a58753ccae1474657ec33350e43 will be restored after release. --- diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c index 5203989..bf81d1a 100644 --- a/src/lib/elementary/efl_ui_pager.c +++ b/src/lib/elementary/efl_ui_pager.c @@ -853,19 +853,12 @@ _efl_ui_pager_efl_pack_unpack(Eo *obj, } EOLIAN static Efl_Gfx_Entity * -_efl_ui_pager_efl_pack_linear_pack_unpack_at(Eo *obj, - Efl_Ui_Pager_Data *pd, - int index) +_efl_ui_pager_efl_pack_linear_pack_unpack_at(Eo *obj EINA_UNUSED, + Efl_Ui_Pager_Data *pd EINA_UNUSED, + int index EINA_UNUSED) { - if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return NULL; - - if ((index >= pd->cnt) || (index < 0)) return NULL; - - Efl_Gfx_Entity *subobj = eina_list_nth(pd->content_list, index); - - _unpack(obj, pd, subobj, index); - - return subobj; + ERR("Soon to be implemented"); + return NULL; }