summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_image_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_image_legacy.c')
-rw-r--r--src/lib/evas/canvas/evas_image_legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c
index e38c1a2..344408e 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -26,7 +26,7 @@ EAPI Evas_Object *
26evas_object_image_add(Evas *eo_e) 26evas_object_image_add(Evas *eo_e)
27{ 27{
28 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 28 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
29 return efl_add(EVAS_IMAGE_CLASS, eo_e, 29 return efl_add(EVAS_IMAGE_CLASS, evas_find(eo_e),
30 efl_gfx_fill_auto_set(efl_added, EINA_FALSE), 30 efl_gfx_fill_auto_set(efl_added, EINA_FALSE),
31 efl_canvas_object_legacy_ctor(efl_added)); 31 efl_canvas_object_legacy_ctor(efl_added));
32} 32}
@@ -35,7 +35,7 @@ EAPI Evas_Object *
35evas_object_image_filled_add(Evas *eo_e) 35evas_object_image_filled_add(Evas *eo_e)
36{ 36{
37 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 37 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
38 return efl_add(EVAS_IMAGE_CLASS, eo_e, 38 return efl_add(EVAS_IMAGE_CLASS, evas_find(eo_e),
39 efl_canvas_object_legacy_ctor(efl_added)); 39 efl_canvas_object_legacy_ctor(efl_added));
40} 40}
41 41