evas: prevent calling api with NULL filter image

This fixes a bunch of warnings like that
```
../src/lib/eo/eo.c:644 _efl_object_call_resolve() NULL passed to function xxx().
```

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11283
This commit is contained in:
Yeongjong Lee 2020-02-05 06:11:28 +00:00 committed by Marcel Hollerbach
parent 7f57e8e601
commit 723382bf5c
1 changed files with 2 additions and 2 deletions

View File

@ -931,7 +931,7 @@ _efl_canvas_group_efl_gfx_entity_position_set(Eo *eo_obj, Evas_Smart_Data *o, Ei
if (o->clipped && !is_overridden)
_evas_object_smart_clipped_smart_move_internal(eo_obj, pos.x, pos.y);
efl_gfx_entity_position_set(efl_super(eo_obj, MY_CLASS), pos);
efl_gfx_entity_position_set(o->filter_img, pos);
if (o->filter_img) efl_gfx_entity_position_set(o->filter_img, pos);
}
EOLIAN static void
@ -941,7 +941,7 @@ _efl_canvas_group_efl_gfx_entity_size_set(Eo *obj, Evas_Smart_Data *o, Eina_Size
return;
efl_gfx_entity_size_set(efl_super(obj, MY_CLASS), size);
efl_gfx_entity_size_set(o->filter_img, size);
if (o->filter_img) efl_gfx_entity_size_set(o->filter_img, size);
}
EOLIAN static void