summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_edit.c2
-rw-r--r--src/lib/edje/edje_smart.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index ef0dd243aa..2527598c69 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -289,7 +289,7 @@ _edje_edit_efl_file_mmap_set(Eo *obj, Edje_Edit *eed, const Eina_File *mmap, con
289EAPI Evas_Object * 289EAPI Evas_Object *
290edje_edit_object_add(Evas *evas) 290edje_edit_object_add(Evas *evas)
291{ 291{
292 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 292 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
293} 293}
294 294
295EOLIAN static Eo * 295EOLIAN static Eo *
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 5d413649c6..c8bd123a8c 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 *