summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-11-08 12:10:50 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-11-13 21:16:14 +0100
commit652533e27d718366087792154e597a10ca9b54bb (patch)
tree07786c32f7eb7ebdcb8db5397b91a7a1fb3d4273
parent6cec0df499f16f452ceeba270384cb476a5f3ce8 (diff)
ecore: remove the composited children from the source of an Efl.CompositeModel.
The composite model was erroneously giving the reference to a children composited model instead of the origianl children which made it impossible for the composited model to delete the right child. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10631
-rw-r--r--src/lib/ecore/efl_composite_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/efl_composite_model.c b/src/lib/ecore/efl_composite_model.c
index b3896bc..ad0c62b 100644
--- a/src/lib/ecore/efl_composite_model.c
+++ b/src/lib/ecore/efl_composite_model.c
@@ -481,7 +481,7 @@ _efl_composite_model_efl_model_child_del(Eo *obj EINA_UNUSED,
481 Efl_Composite_Model_Data *pd, 481 Efl_Composite_Model_Data *pd,
482 Efl_Object *child) 482 Efl_Object *child)
483{ 483{
484 efl_model_child_del(pd->source, child); 484 efl_model_child_del(pd->source, efl_ui_view_model_get(child));
485} 485}
486 486
487static void 487static void