summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangHyeon Lee <sh10233.lee@samsung.com>2015-10-12 18:17:47 +0900
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:15:03 +0100
commit7d84a76324d5495897023cca6bcab6cdfd68d615 (patch)
tree3cee245b859a6cf17652875ea42bd72fe897a4f6
parent97b5eb86ce5afd44f9cbceba622640553e446c2e (diff)
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.
-rw-r--r--src/lib/elm_gengrid.c16
-rw-r--r--src/lib/elm_gengrid_item.eo12
2 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index c3dead7c5..01c72ccef 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)
4585} 4585}
4586 4586
4587EOLIAN static void 4587EOLIAN static void
4588_elm_gengrid_item_all_contents_unset(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it, Eina_List **l)
4589{
4590 Evas_Object *content;
4591
4592 ELM_GENGRID_ITEM_CHECK_OR_RETURN(it);
4593
4594 EINA_LIST_FREE(it->contents, content)
4595 {
4596 elm_widget_sub_object_del(WIDGET(it), content);
4597 edje_object_part_unswallow(VIEW(it), content);
4598 evas_object_hide(content);
4599 if (l) *l = eina_list_append(*l, content);
4600 }
4601}
4602
4603EOLIAN static void
4604_elm_gengrid_item_update(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) 4588_elm_gengrid_item_update(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it)
4605{ 4589{
4606 ELM_GENGRID_ITEM_CHECK_OR_RETURN(it); 4590 ELM_GENGRID_ITEM_CHECK_OR_RETURN(it);
diff --git a/src/lib/elm_gengrid_item.eo b/src/lib/elm_gengrid_item.eo
index 7da7ff53d..95a079c79 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)
154 @in type: Elm_Gengrid_Item_Scrollto_Type; [[Where to position the item in the viewport.]] 154 @in type: Elm_Gengrid_Item_Scrollto_Type; [[Where to position the item in the viewport.]]
155 } 155 }
156 } 156 }
157 all_contents_unset {
158 [[Unset all contents fetched by the item class.
159
160 This instructs gengrid to release references to contents
161 in the item, meaning that they will no longer be managed
162 by gengrid and are floating "orphans" that can be re-used
163 elsewhere if the user wants to.
164 ]]
165 params {
166 @out l: own(list<own(Evas.Object *)> *); [[The contents list to return.]]
167 }
168 }
169 update { 157 update {
170 [[Update the contents of a given gengrid item 158 [[Update the contents of a given gengrid item
171 159