aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-10 07:31:32 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-07-10 13:41:04 +0200
commitb27ecc58ddd05465b441682e2a20fd06f66a6c48 (patch)
treed93f8ae8bf54353b960503b9b4135ea574816541 /src/lib/edje
parentevas gl-x11 engine - nvidia driver - fix performance drop (diff)
downloadefl-b27ecc58ddd05465b441682e2a20fd06f66a6c48.tar.gz
Revert "edje: clean up internal objects during invalidate"
This reverts commit 78cd61034185f07779d70163a38f5ffdffe5507b. this patch needed a bit more review+testing; it fixes some issues but creates others Differential Revision: https://phab.enlightenment.org/D6551
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_smart.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index a3791a041c..29d042c40d 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -54,9 +54,9 @@ _efl_canvas_layout_efl_object_invalidate(Eo *obj, Edje *ed)
{
_edje_file_callbacks_del(ed, NULL);
- /* after invalidate is called, all internal objects are destroyed as a result
- * of being unparented. do cleanups here to avoid leaking
- */
+ efl_invalidate(efl_super(obj, MY_CLASS));
+
+ //invalidate is done, this means the legacy evas deletion event is called.
for (int i = 0; i < ed->table_parts_size; ++i)
{
Edje_Real_Part *rp = ed->table_parts[i];
@@ -74,8 +74,6 @@ _efl_canvas_layout_efl_object_invalidate(Eo *obj, Edje *ed)
break;
}
}
-
- efl_invalidate(efl_super(obj, MY_CLASS));
}
EOLIAN static void