summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-20 13:18:50 -0400
committerCedric Bail <cedric@osg.samsung.com>2018-03-20 17:20:57 -0700
commitdb920723386d92218361cc68f92213975e595b3b (patch)
tree311f21b517824bace0d3dad25d04845f9ab3b30c /src/lib/edje/edje_smart.c
parentcd8952cc6cfb09a0bdf0a78f74d431a47fdf820c (diff)
edje: implement invalidate method and unset device callbacks here
prevent crashing in dangling callbacks ref d26124a6d818f62d892e178d92098f5159a8c9e0 Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'src/lib/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 6b4ed89..fa5efe1 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -48,6 +48,12 @@ _efl_canvas_layout_efl_object_constructor(Eo *obj, Edje *ed)
48} 48}
49 49
50EOLIAN static void 50EOLIAN static void
51_efl_canvas_layout_efl_object_invalidate(Eo *obj EINA_UNUSED, Edje *ed)
52{
53 _edje_file_callbacks_del(ed, NULL);
54}
55
56EOLIAN static void
51_efl_canvas_layout_efl_object_debug_name_override(Eo *obj, Edje *ed, Eina_Strbuf *sb) 57_efl_canvas_layout_efl_object_debug_name_override(Eo *obj, Edje *ed, Eina_Strbuf *sb)
52{ 58{
53 efl_debug_name_override(efl_super(obj, MY_CLASS), sb); 59 efl_debug_name_override(efl_super(obj, MY_CLASS), sb);