summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorHyoyoung Chang <hyoyoung@gmail.com>2012-04-13 11:29:19 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-04-13 11:29:19 +0000
commitfe95d5837114a07d4dab3403262b933b2fc4295a (patch)
tree7acccd1861e6097bb56a4b7bd3cce24e1abe84c8 /src/lib
parenta572f53a2383aa26d9fd36d73739b772e87ab3d4 (diff)
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - some lines indent fixes I fixed several lines indent. Also remove useless comments. SVN revision: 70173
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_gen_common.h2
-rw-r--r--src/lib/elm_genlist.c14
2 files changed, 6 insertions, 10 deletions
diff --git a/src/lib/elm_gen_common.h b/src/lib/elm_gen_common.h
index f7574cb25..ec6d03f12 100644
--- a/src/lib/elm_gen_common.h
+++ b/src/lib/elm_gen_common.h
@@ -100,7 +100,7 @@ struct _Widget_Data
100 int minw, minh; 100 int minw, minh;
101 unsigned int item_count; 101 unsigned int item_count;
102 Evas_Coord pan_x, pan_y; 102 Evas_Coord pan_x, pan_y;
103 Elm_Object_Select_Mode select_mode; 103 Elm_Object_Select_Mode select_mode;
104 Eina_Bool reorder_mode : 1; /**< a flag for reorder mode enable/disable */ 104 Eina_Bool reorder_mode : 1; /**< a flag for reorder mode enable/disable */
105 Eina_Bool on_hold : 1; 105 Eina_Bool on_hold : 1;
106 Eina_Bool multi : 1; /**< a flag for item multi selection */ 106 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 7ab50d043..98909b547 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -730,13 +730,13 @@ _item_unhighlight(Elm_Gen_Item *it)
730 { 730 {
731 if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even) 731 if ((it->item->order_num_in & 0x1) ^ it->item->stacking_even)
732 { 732 {
733 if (it->deco_all_view) evas_object_lower(it->deco_all_view); 733 if (it->deco_all_view) evas_object_lower(it->deco_all_view);
734 else evas_object_lower(VIEW(it)); 734 else evas_object_lower(VIEW(it));
735 } 735 }
736 else 736 else
737 { 737 {
738 if (it->deco_all_view) evas_object_raise(it->deco_all_view); 738 if (it->deco_all_view) evas_object_raise(it->deco_all_view);
739 else evas_object_raise(VIEW(it)); 739 else evas_object_raise(VIEW(it));
740 } 740 }
741 } 741 }
742 it->highlighted = EINA_FALSE; 742 it->highlighted = EINA_FALSE;
@@ -994,7 +994,7 @@ _mouse_move(void *data,
994 if (it->deco_all_view) 994 if (it->deco_all_view)
995 _item_position(it, it->deco_all_view, it->item->scrl_x, y_pos); 995 _item_position(it, it->deco_all_view, it->item->scrl_x, y_pos);
996 else 996 else
997 _item_position(it, VIEW(it), it->item->scrl_x, y_pos); 997 _item_position(it, VIEW(it), it->item->scrl_x, y_pos);
998 998
999 if (it->wd->calc_job) ecore_job_del(it->wd->calc_job); 999 if (it->wd->calc_job) ecore_job_del(it->wd->calc_job);
1000 it->wd->calc_job = ecore_job_add(_calc_job, it->wd); 1000 it->wd->calc_job = ecore_job_add(_calc_job, it->wd);
@@ -3027,10 +3027,6 @@ _pan_resize(Evas_Object *obj,
3027 evas_object_smart_changed(obj); 3027 evas_object_smart_changed(obj);
3028 if (sd->wd->calc_job) ecore_job_del(sd->wd->calc_job); 3028 if (sd->wd->calc_job) ecore_job_del(sd->wd->calc_job);
3029 sd->wd->calc_job = NULL; 3029 sd->wd->calc_job = NULL;
3030/* OLD
3031 if (sd->wd->calc_job) ecore_job_del(sd->wd->calc_job);
3032 sd->wd->calc_job = ecore_job_add(_calc_job, sd->wd);
3033 */
3034} 3030}
3035 3031
3036static void 3032static void