projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f55d1
)
Remove redundant checks for horizontal; replace with one simple check.
author
Christopher Michael
<cpmichael1@comcast.net>
Sat, 26 Jan 2008 05:28:46 +0000
(
05:28
+0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Sat, 26 Jan 2008 05:28:46 +0000
(
05:28
+0000)
SVN revision: 33615
src/bin/e_box.c
patch
|
blob
|
history
diff --git
a/src/bin/e_box.c
b/src/bin/e_box.c
index
e1c8791
..
ab60a28
100644
(file)
--- a/
src/bin/e_box.c
+++ b/
src/bin/e_box.c
@@
-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);