From: Hyoyoung Chang Date: Fri, 13 Apr 2012 11:29:19 +0000 (+0000) Subject: From: Hyoyoung Chang X-Git-Tag: v1.0.0~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe95d5837114a07d4dab3403262b933b2fc4295a;p=platform%2Fupstream%2Felementary.git From: Hyoyoung Chang Subject: [E-devel] [patch] elm_genlist - some lines indent fixes I fixed several lines indent. Also remove useless comments. SVN revision: 70173 --- diff --git a/src/lib/elm_gen_common.h b/src/lib/elm_gen_common.h index f7574cb..ec6d03f 100644 --- a/src/lib/elm_gen_common.h +++ b/src/lib/elm_gen_common.h @@ -100,7 +100,7 @@ struct _Widget_Data int minw, minh; unsigned int item_count; Evas_Coord pan_x, pan_y; - Elm_Object_Select_Mode select_mode; + Elm_Object_Select_Mode select_mode; Eina_Bool reorder_mode : 1; /**< a flag for reorder mode enable/disable */ Eina_Bool on_hold : 1; Eina_Bool multi : 1; /**< a flag for item multi selection */ diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 7ab50d0..98909b5 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -730,13 +730,13 @@ _item_unhighlight(Elm_Gen_Item *it) { if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even) { - if (it->deco_all_view) evas_object_lower(it->deco_all_view); - else evas_object_lower(VIEW(it)); + if (it->deco_all_view) evas_object_lower(it->deco_all_view); + else evas_object_lower(VIEW(it)); } else { - if (it->deco_all_view) evas_object_raise(it->deco_all_view); - else evas_object_raise(VIEW(it)); + if (it->deco_all_view) evas_object_raise(it->deco_all_view); + else evas_object_raise(VIEW(it)); } } it->highlighted = EINA_FALSE; @@ -994,7 +994,7 @@ _mouse_move(void *data, if (it->deco_all_view) _item_position(it, it->deco_all_view, it->item->scrl_x, y_pos); else - _item_position(it, VIEW(it), it->item->scrl_x, y_pos); + _item_position(it, VIEW(it), it->item->scrl_x, y_pos); if (it->wd->calc_job) ecore_job_del(it->wd->calc_job); it->wd->calc_job = ecore_job_add(_calc_job, it->wd); @@ -3027,10 +3027,6 @@ _pan_resize(Evas_Object *obj, evas_object_smart_changed(obj); if (sd->wd->calc_job) ecore_job_del(sd->wd->calc_job); sd->wd->calc_job = NULL; -/* OLD - if (sd->wd->calc_job) ecore_job_del(sd->wd->calc_job); - sd->wd->calc_job = ecore_job_add(_calc_job, sd->wd); - */ } static void