summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_image.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index 0aaed3ca30..8f23228e7d 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -804,17 +804,15 @@ _efl_ui_image_sizing_eval(Evas_Object *obj)
804 evas_object_size_hint_min_set(obj, minw, minh); 804 evas_object_size_hint_min_set(obj, minw, minh);
805 evas_object_size_hint_max_set(obj, maxw, maxh); 805 evas_object_size_hint_max_set(obj, maxw, maxh);
806 806
807 //Retained way. Nothing does, if either way hasn't been changed. 807 if (sd->img)
808 if (!sd->edje)
809 { 808 {
810 efl_gfx_image_orientation_set(sd->img, sd->orient); 809 //Retained way. Nothing does, if either way hasn't been changed.
811 } 810 if (!sd->edje)
811 efl_gfx_image_orientation_set(sd->img, sd->orient);
812 812
813 if (sd->img) 813 _image_sizing_eval(sd, sd->img);
814 { 814 if (sd->prev_img) _image_sizing_eval(sd, sd->prev_img);
815 _image_sizing_eval(sd, sd->img); 815 }
816 if (sd->prev_img) _image_sizing_eval(sd, sd->prev_img);
817 }
818} 816}
819 817
820static void 818static void