forked from enlightenment/efl
parent
58841dae63
commit
29a4c2a8c2
|
@ -822,7 +822,7 @@ evas_object_size_hint_aspect_set(Evas_Object *obj, Evas_Aspect_Control aspect, E
|
||||||
if (obj->delete_me)
|
if (obj->delete_me)
|
||||||
return;
|
return;
|
||||||
_evas_object_size_hint_alloc(obj);
|
_evas_object_size_hint_alloc(obj);
|
||||||
if ((obj->size_hints->aspect.mode == aspect) && (obj->size_hints->aspect.size.w == w) && (obj->size_hints->aspect.size.h == h)) return;
|
if ((obj->size_hints->aspect.mode == aspect) && (obj->size_hints->aspect.size.w == w) && (obj->size_hints->aspect.size.h == h)) return;
|
||||||
obj->size_hints->aspect.mode = aspect;
|
obj->size_hints->aspect.mode = aspect;
|
||||||
obj->size_hints->aspect.size.w = w;
|
obj->size_hints->aspect.size.w = w;
|
||||||
obj->size_hints->aspect.size.h = h;
|
obj->size_hints->aspect.size.h = h;
|
||||||
|
|
Loading…
Reference in New Issue