summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_grid.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/evas/canvas/evas_object_grid.c
parentf44511d0f92a8d6cd7ec5cc5f7f97bd6b3656372 (diff)
evas: enforce legacy parent to be the canvas.
Diffstat (limited to 'src/lib/evas/canvas/evas_object_grid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index a8fdba8..b954bf2 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -276,7 +276,7 @@ evas_object_grid_add(Evas *evas)
276 MAGIC_CHECK(evas, Evas, MAGIC_EVAS); 276 MAGIC_CHECK(evas, Evas, MAGIC_EVAS);
277 return NULL; 277 return NULL;
278 MAGIC_CHECK_END(); 278 MAGIC_CHECK_END();
279 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added)); 279 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added));
280} 280}
281 281
282EOLIAN static Eo * 282EOLIAN static Eo *