summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim.neo@gmail.com>2012-04-24 11:09:31 +0000
committerJaehwan Kim <jae.hwan.kim.neo@gmail.com>2012-04-24 11:09:31 +0000
commite2a2460b4a5cbe85f15c7a65a6db390f7625b614 (patch)
treee86849692ee005d6cd59849f3a573c56fd89b19d /src/lib
parentf160905e11f823356ff6a04732fcc8e6a86e5172 (diff)
Remove unnecessary code.
SVN revision: 70434
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/els_box.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index 50810a6e5..f78a0bf6d 100644
--- a/src/lib/els_box.c
+++ b/src/lib/els_box.c
@@ -109,7 +109,7 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
109 Evas_Coord x, y, w, h, xx, yy; 109 Evas_Coord x, y, w, h, xx, yy;
110 const Eina_List *l; 110 const Eina_List *l;
111 Evas_Object *obj; 111 Evas_Object *obj;
112 Evas_Coord minw, minh, wdif, hdif; 112 Evas_Coord minw, minh;
113 int count = 0; 113 int count = 0;
114 double expand = 0.0; 114 double expand = 0.0;
115 double ax, ay; 115 double ax, ay;
@@ -164,8 +164,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
164 h = minh; 164 h = minh;
165 } 165 }
166 } 166 }
167 wdif = w - minw;
168 hdif = h - minh;
169 xx = x; 167 xx = x;
170 yy = y; 168 yy = y;
171 EINA_LIST_FOREACH(priv->children, l, opt) 169 EINA_LIST_FOREACH(priv->children, l, opt)
@@ -200,7 +198,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
200 if ((expand > 0) && (xw)) 198 if ((expand > 0) && (xw))
201 { 199 {
202 ow = ((w - minw) * wx) / expand; 200 ow = ((w - minw) * wx) / expand;
203 wdif -= ow;
204 ww += ow; 201 ww += ow;
205 } 202 }
206 } 203 }
@@ -233,7 +230,6 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int
233 if ((expand > 0) && (xh)) 230 if ((expand > 0) && (xh))
234 { 231 {
235 oh = ((h - minh) * wy) / expand; 232 oh = ((h - minh) * wy) / expand;
236 hdif -= oh;
237 hh += oh; 233 hh += oh;
238 } 234 }
239 } 235 }