ecore: enforce proper lifecycle for all Efl.Composite_Model children.
authorCedric BAIL <cedric.bail@free.fr>
Sat, 23 Feb 2019 13:57:10 +0000 (08:57 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:35 +0000 (20:49 +0900)
commit620daf6eaff664720ec01d171f1e5d36b262b9f2
treeec0fccb63c8532272d90e36d8a5e7f3ffe475138
parent49d9030dcc009c308d042bbeb99f2a30bd0d2580
ecore: enforce proper lifecycle for all Efl.Composite_Model children.

Summary:
This make sure that the object returned by children_slice_get are properly
destroyed when the refcount drop to only the parent holding a reference on
it. This make it clear that the user of the api can rely on efl_ref/efl_unref
to actually manage its use of the returned object.

Reviewers: felipealmeida, segfaultxavi, SanghyeonLee, zmike, bu5hm4n

Reviewed By: segfaultxavi, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7528

Differential Revision: https://phab.enlightenment.org/D7864
src/lib/ecore/efl_composite_model.c
src/lib/ecore/efl_select_model.c