elm image - silence warnings of setting smooth if image is edje

This commit is contained in:
Carsten Haitzler 2016-08-04 08:17:18 +09:00
parent 1f48ce5f6b
commit a3e7413992
1 changed files with 1 additions and 1 deletions

View File

@ -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) _efl_ui_image_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, Eina_Bool smooth)
{ {
sd->smooth = 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 EOLIAN static Eina_Bool