projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e5705
)
use eina list macro
author
Andreas Volz
<linux@brachttal.net>
Tue, 14 Apr 2009 19:13:36 +0000
(19:13 +0000)
committer
Andreas Volz
<linux@brachttal.net>
Tue, 14 Apr 2009 19:13:36 +0000
(19:13 +0000)
SVN revision: 40049
src/modules/conf_dpms/e_int_config_dpms.c
patch
|
blob
|
history
diff --git
a/src/modules/conf_dpms/e_int_config_dpms.c
b/src/modules/conf_dpms/e_int_config_dpms.c
index eec73222ecaf52a9b6bbdd368d1314267d8f2d40..cd20a404fe97506b7f451db0699b865a5d496a13 100644
(file)
--- a/
src/modules/conf_dpms/e_int_config_dpms.c
+++ b/
src/modules/conf_dpms/e_int_config_dpms.c
@@
-329,13
+329,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));
- }
}