sanghyeonlee pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=fb086c1fb66611f4aeb5f866b9ba375a1bdeb3a1

commit fb086c1fb66611f4aeb5f866b9ba375a1bdeb3a1
Author: SangHyeon Lee <sh10233....@samsung.com>
Date:   Mon Oct 12 18:17:47 2015 +0900

    Revert "gengrid : add all_contents_unset API in gengrid for reusing 
contents."
    
    This reverts commit 1094fb77a0ee23cbe1e8b15783e406a8d93b7fd4.
    
    Feature is freezed for new released version.
    This patch must updated after release finished.
---
 src/lib/elm_gengrid.c       | 16 ----------------
 src/lib/elm_gengrid_item.eo | 12 ------------
 2 files changed, 28 deletions(-)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index c3dead7..01c72cc 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4585,22 +4585,6 @@ elm_gengrid_item_object_get(const Elm_Object_Item *eo_it)
 }
 
 EOLIAN static void
-_elm_gengrid_item_all_contents_unset(Eo *eo_item EINA_UNUSED, Elm_Gen_Item 
*it, Eina_List **l)
-{
-   Evas_Object *content;
-
-   ELM_GENGRID_ITEM_CHECK_OR_RETURN(it);
-
-   EINA_LIST_FREE(it->contents, content)
-     {
-        elm_widget_sub_object_del(WIDGET(it), content);
-        edje_object_part_unswallow(VIEW(it), content);
-        evas_object_hide(content);
-        if (l) *l = eina_list_append(*l, content);
-     }
-}
-
-EOLIAN static void
 _elm_gengrid_item_update(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it)
 {
    ELM_GENGRID_ITEM_CHECK_OR_RETURN(it);
diff --git a/src/lib/elm_gengrid_item.eo b/src/lib/elm_gengrid_item.eo
index 7da7ff5..95a079c 100644
--- a/src/lib/elm_gengrid_item.eo
+++ b/src/lib/elm_gengrid_item.eo
@@ -154,18 +154,6 @@ class Elm.Gengrid_Item(Elm.Widget_Item)
                      @in type: Elm_Gengrid_Item_Scrollto_Type; [[Where to 
position the item in the viewport.]]
                 }
            }
-           all_contents_unset {
-                [[Unset all contents fetched by the item class.
-
-                  This instructs gengrid to release references to contents
-                  in the item, meaning that they will no longer be managed
-                  by gengrid and are floating "orphans" that can be re-used
-                  elsewhere if the user wants to.
-                ]]
-                params {
-                     @out l: own(list<own(Evas.Object *)> *); [[The contents 
list to return.]]
-                }
-           }
            update {
                 [[Update the contents of a given gengrid item
 

-- 


Reply via email to