forked from enlightenment/enlightenment
Remove redundant checks for horizontal; replace with one simple check.
SVN revision: 33615
This commit is contained in:
parent
00f55d1b10
commit
7b394739ae
|
@ -99,8 +99,7 @@ e_box_orientation_set(Evas_Object *obj, int horizontal)
|
|||
|
||||
sd = evas_object_smart_data_get(obj);
|
||||
if (!sd) return;
|
||||
if (((sd->horizontal) && (horizontal)) ||
|
||||
((!sd->horizontal) && (!horizontal))) return;
|
||||
if (sd->horizontal == horizontal) return;
|
||||
sd->horizontal = horizontal;
|
||||
sd->changed = 1;
|
||||
if (sd->frozen <= 0) _e_box_smart_reconfigure(sd);
|
||||
|
|
Loading…
Reference in New Issue