summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-13 18:11:17 +0100
committerCedric BAIL <cedric.bail@free.fr>2019-12-13 09:33:07 -0800
commit5892292ac8066e5e00fba085990d7190a36404f3 (patch)
tree20e9f0119369365ab643b1dea425676b58c1f6fa
parent7d1463124ac139f3cb99028ff453041a5453ef8f (diff)
efl_ui: docuement code
there was the request that this needs to be documented, here we are. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10874
-rw-r--r--src/lib/elementary/efl_ui_collection.c1
-rw-r--r--src/lib/elementary/efl_ui_collection_view.c1
-rw-r--r--src/lib/elementary/efl_ui_scroller.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_collection.c b/src/lib/elementary/efl_ui_collection.c
index f40a366c76..53afb10743 100644
--- a/src/lib/elementary/efl_ui_collection.c
+++ b/src/lib/elementary/efl_ui_collection.c
@@ -438,6 +438,7 @@ _efl_ui_collection_efl_object_invalidate(Eo *obj, Efl_Ui_Collection_Data *pd EIN
438 while(pd->items) 438 while(pd->items)
439 efl_del(pd->items->data); 439 efl_del(pd->items->data);
440 440
441 // pan is given to edje, which reparents it, which forces us to manually deleting it
441 efl_del(pd->pan); 442 efl_del(pd->pan);
442 443
443 efl_invalidate(efl_super(obj, MY_CLASS)); 444 efl_invalidate(efl_super(obj, MY_CLASS));
diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c
index ba18264225..2598849f36 100644
--- a/src/lib/elementary/efl_ui_collection_view.c
+++ b/src/lib/elementary/efl_ui_collection_view.c
@@ -2072,6 +2072,7 @@ _efl_ui_collection_view_efl_object_invalidate(Eo *obj,
2072 2072
2073 _all_cleanup(obj, pd); 2073 _all_cleanup(obj, pd);
2074 2074
2075 //pd pan is given to edje, which reparents it, which forces us to manually deleting it
2075 if (pd->pan) 2076 if (pd->pan)
2076 efl_del(pd->pan); 2077 efl_del(pd->pan);
2077 2078
diff --git a/src/lib/elementary/efl_ui_scroller.c b/src/lib/elementary/efl_ui_scroller.c
index 5c79c2eec7..5b0eca2fa5 100644
--- a/src/lib/elementary/efl_ui_scroller.c
+++ b/src/lib/elementary/efl_ui_scroller.c
@@ -281,6 +281,7 @@ _efl_ui_scroller_efl_object_finalize(Eo *obj,
281EOLIAN static void 281EOLIAN static void
282_efl_ui_scroller_efl_object_invalidate(Eo *obj, Efl_Ui_Scroller_Data *pd) 282_efl_ui_scroller_efl_object_invalidate(Eo *obj, Efl_Ui_Scroller_Data *pd)
283{ 283{
284 // pan is given to edje, which reparents it, which forces us to manually deleting it
284 efl_event_callback_del(pd->pan_obj, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, 285 efl_event_callback_del(pd->pan_obj, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
285 _efl_ui_scroller_pan_resized_cb, obj); 286 _efl_ui_scroller_pan_resized_cb, obj);
286 efl_del(pd->pan_obj); 287 efl_del(pd->pan_obj);