Revert "efl_ui_pager: implement unpack_at function"
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 2 Apr 2019 07:39:40 +0000 (16:39 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 8 Apr 2019 01:44:41 +0000 (10:44 +0900)
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.

src/lib/elementary/efl_ui_pager.c

index 5203989..bf81d1a 100644 (file)
@@ -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;
 }