From c2e8b492b18bdecc2300ad051ba1406e40ad068f Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Tue, 8 May 2018 17:37:30 -0700 Subject: evas: enforce legacy parent to be the canvas. --- src/lib/emotion/emotion_smart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/emotion/emotion_smart.c') diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index d52e27eaca..d68b84bce4 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c @@ -230,7 +230,7 @@ _clipper_position_size_update(Evas_Object *obj, int x, int y, int w, int h, int EAPI Evas_Object * emotion_object_add(Evas *evas) { - return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); + return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added)); } EOLIAN static Eo * -- cgit v1.2.1