summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_smart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 9e405ceb56..5a715b35ed 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -22,8 +22,9 @@ Eina_Inlist *_edje_edjes = NULL;
22EAPI Evas_Object * 22EAPI Evas_Object *
23edje_object_add(Evas *evas) 23edje_object_add(Evas *evas)
24{ 24{
25 evas = evas_find(evas);
25 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(evas, EVAS_CANVAS_CLASS), NULL); 26 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(evas, EVAS_CANVAS_CLASS), NULL);
26 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added)); 27 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added));
27} 28}
28 29
29EOLIAN static Eo * 30EOLIAN static Eo *