summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_box.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_box.c')
-rw-r--r--src/lib/evas/canvas/evas_object_box.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c
index 391f849..fb81776 100644
--- a/src/lib/evas/canvas/evas_object_box.c
+++ b/src/lib/evas/canvas/evas_object_box.c
@@ -475,8 +475,9 @@ _evas_box_efl_canvas_group_group_calculate(Eo *o, Evas_Object_Box_Data *priv)
475EAPI Evas_Object * 475EAPI Evas_Object *
476evas_object_box_add(Evas *evas) 476evas_object_box_add(Evas *evas)
477{ 477{
478 evas = evas_find(evas);
478 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(evas, EVAS_CANVAS_CLASS), NULL); 479 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(evas, EVAS_CANVAS_CLASS), NULL);
479 return efl_add(MY_CLASS, evas_find(evas), efl_canvas_object_legacy_ctor(efl_added)); 480 return efl_add(MY_CLASS, evas, efl_canvas_object_legacy_ctor(efl_added));
480} 481}
481 482
482EOLIAN static Eo * 483EOLIAN static Eo *