summaryrefslogtreecommitdiff
path: root/src/lib/edje_calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje_calc.c')
-rw-r--r--src/lib/edje_calc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c
index 84f8090..f00db4e 100644
--- a/src/lib/edje_calc.c
+++ b/src/lib/edje_calc.c
@@ -3006,7 +3006,8 @@ _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);
if (ep->part->type == EDJE_PART_TYPE_IMAGE ||
((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
- (!strcmp(evas_object_type_get(mo), "image")))
+ (!strcmp(evas_object_type_get(mo), "image") &&
+ (!evas_object_image_source_get(mo))))
)
{
int iw = 1, ih = 1;