summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-04 08:17:18 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-04 08:17:18 +0900
commita3e74139922e98fa8cca38ecb2eb9f25a16f4971 (patch)
tree14feeab437df7a64b4f7268175a8a1936fc0fba7
parent1f48ce5f6b588ade04d37680e318622991ac48b5 (diff)
downloadefl-a3e74139922e98fa8cca38ecb2eb9f25a16f4971.tar.gz
elm image - silence warnings of setting smooth if image is edje
-rw-r--r--src/lib/elementary/efl_ui_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index ba52cc92fe..f27d17f033 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -545,7 +545,7 @@ EOLIAN static void
_efl_ui_image_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, Eina_Bool smooth)
{
sd->smooth = smooth;
- evas_object_image_smooth_scale_set(sd->img, smooth);
+ if (!sd->edje) evas_object_image_smooth_scale_set(sd->img, smooth);
}
EOLIAN static Eina_Bool