summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-05-08 17:37:30 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:19 -0700
commitc2e8b492b18bdecc2300ad051ba1406e40ad068f (patch)
tree346fb69fb02abb4ac333e8d4fac7f0c4f2f8bdf1 /src/lib/edje/edje_smart.c
parentf44511d0f92a8d6cd7ec5cc5f7f97bd6b3656372 (diff)
evas: enforce legacy parent to be the canvas.
Diffstat (limited to 'src/lib/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 5d41364..c8bd123 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -21,7 +21,7 @@ EAPI Evas_Object *
21edje_object_add(Evas *evas) 21edje_object_add(Evas *evas)
22{ 22{
23 EINA_SAFETY_ON_NULL_RETURN_VAL(evas, NULL); 23 EINA_SAFETY_ON_NULL_RETURN_VAL(evas, NULL);
24 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 24 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
25} 25}
26 26
27EOLIAN static Eo * 27EOLIAN static Eo *