summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2011-10-23 23:15:58 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2011-10-23 23:15:58 +0000
commit110ab539536653b964af1d9317082f4d45c9ab8a (patch)
treeef21025ccb9207506993b7b0ddf95badb19bd2cc /legacy
parentc1e8204319f910aa55f0d5b82f4f1430200b1e0d (diff)
elm genlist: Removed dead code. Patch by Hyoyoung Chang
<hyoyoung@gmail.com> On Sun, Oct 23, 2011 at 8:44 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote: > Dear developers > > When i compile elementary, i found something to remove. > And this is for removing unused values in elm_genlist. > > Thank you. SVN revision: 64331
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index 01520b14dc..f3c6b220ef 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -706,11 +706,8 @@ _item_highlight(Elm_Gen_Item *it)
706static void 706static void
707_item_unhighlight(Elm_Gen_Item *it) 707_item_unhighlight(Elm_Gen_Item *it)
708{ 708{
709 const char *stacking, *selectraise;
710 if ((it->delete_me) || (!it->highlighted)) return; 709 if ((it->delete_me) || (!it->highlighted)) return;
711 edje_object_signal_emit(VIEW(it), "elm,state,unselected", "elm"); 710 edje_object_signal_emit(VIEW(it), "elm,state,unselected", "elm");
712 stacking = edje_object_data_get(VIEW(it), "stacking");
713 selectraise = edje_object_data_get(VIEW(it), "selectraise");
714 if (!it->item->nostacking) 711 if (!it->item->nostacking)
715 { 712 {
716 if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even) evas_object_lower(VIEW(it)); 713 if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even) evas_object_lower(VIEW(it));
@@ -2300,12 +2297,10 @@ _calc_job(void *data)
2300 Item_Block *itb, *chb = NULL; 2297 Item_Block *itb, *chb = NULL;
2301 Evas_Coord minw = -1, minh = 0, y = 0, ow; 2298 Evas_Coord minw = -1, minh = 0, y = 0, ow;
2302 int in = 0; 2299 int in = 0;
2303 double t0, t;
2304 Eina_Bool minw_change = EINA_FALSE; 2300 Eina_Bool minw_change = EINA_FALSE;
2305 Eina_Bool did_must_recalc = EINA_FALSE; 2301 Eina_Bool did_must_recalc = EINA_FALSE;
2306 if (!wd) return; 2302 if (!wd) return;
2307 2303
2308 t0 = ecore_time_get();
2309 evas_object_geometry_get(wd->pan_smart, NULL, NULL, &ow, &wd->h); 2304 evas_object_geometry_get(wd->pan_smart, NULL, NULL, &ow, &wd->h);
2310 if (wd->w != ow) 2305 if (wd->w != ow)
2311 wd->w = ow; 2306 wd->w = ow;
@@ -2409,7 +2404,6 @@ _calc_job(void *data)
2409 wd->anchor_y = it_y; 2404 wd->anchor_y = it_y;
2410 } 2405 }
2411 } 2406 }
2412 t = ecore_time_get();
2413 if (did_must_recalc) 2407 if (did_must_recalc)
2414 { 2408 {
2415 if (!wd->must_recalc_idler) 2409 if (!wd->must_recalc_idler)