forked from enlightenment/efl
efl/edje: one less use of evas_object_type_get.
SVN revision: 83408
This commit is contained in:
parent
3291f02bff
commit
da4efb7b56
|
@ -3378,7 +3378,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
||||||
evas_map_util_points_populate_from_object(map, ep->object);
|
evas_map_util_points_populate_from_object(map, ep->object);
|
||||||
if (ep->part->type == EDJE_PART_TYPE_IMAGE ||
|
if (ep->part->type == EDJE_PART_TYPE_IMAGE ||
|
||||||
((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
|
((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
|
||||||
(!strcmp(evas_object_type_get(mo), "image") &&
|
(eo_isa(mo, EVAS_OBJ_IMAGE_CLASS) &&
|
||||||
(!evas_object_image_source_get(mo))))
|
(!evas_object_image_source_get(mo))))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue