diff options
author | Cedric Bail <cedric@osg.samsung.com> | 2018-05-08 17:37:30 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2018-05-24 16:02:19 -0700 |
commit | c2e8b492b18bdecc2300ad051ba1406e40ad068f (patch) | |
tree | 346fb69fb02abb4ac333e8d4fac7f0c4f2f8bdf1 /src/lib/emotion/emotion_smart.c | |
parent | f44511d0f92a8d6cd7ec5cc5f7f97bd6b3656372 (diff) |
evas: enforce legacy parent to be the canvas.
Diffstat (limited to '')
-rw-r--r-- | src/lib/emotion/emotion_smart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
230 | EAPI Evas_Object * | 230 | EAPI Evas_Object * |
231 | emotion_object_add(Evas *evas) | 231 | emotion_object_add(Evas *evas) |
232 | { | 232 | { |
233 | return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); | 233 | return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added)); |
234 | } | 234 | } |
235 | 235 | ||
236 | EOLIAN static Eo * | 236 | EOLIAN static Eo * |