summaryrefslogtreecommitdiff
path: root/src/modules/ibox/e_mod_config.c
diff options
context:
space:
mode:
authorAndreas Volz <linux@brachttal.net>2009-04-14 19:14:30 +0000
committerAndreas Volz <linux@brachttal.net>2009-04-14 19:14:30 +0000
commit53fbe500b99d3631ba580984ad2f1b887c06efb0 (patch)
tree856100ec863d2189b94917189cbc9d05df728a03 /src/modules/ibox/e_mod_config.c
parent245f911e8c0585e6827a4da0d80f9f4a51b4e10b (diff)
downloadenlightenment-53fbe500b99d3631ba580984ad2f1b887c06efb0.tar.gz
use eina list foreach macro
SVN revision: 40051
Diffstat (limited to 'src/modules/ibox/e_mod_config.c')
-rw-r--r--src/modules/ibox/e_mod_config.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/modules/ibox/e_mod_config.c b/src/modules/ibox/e_mod_config.c
index 40feae5fe7..10d1e994d4 100644
--- a/src/modules/ibox/e_mod_config.c
+++ b/src/modules/ibox/e_mod_config.c
@@ -238,13 +238,9 @@ static void
_cb_disable_check_list(void *data, Evas_Object *obj)
{
Eina_List *list = (Eina_List*) data;
- Eina_List *l = NULL;
- Evas_Object *o = NULL;
+ Eina_List *l;
+ Evas_Object *o;
- for (l = list, o = eina_list_data_get(l); l; l = eina_list_next(l),
- o = eina_list_data_get(l))
-
- {
+ EINA_LIST_FOREACH(list, l, o)
e_widget_disabled_set(o, !e_widget_check_checked_get(obj));
- }
}