summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-11-03 09:43:56 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-11-03 09:43:56 +0000
commit902905ef6018ddf4aade38a5abb0b86d78376af1 (patch)
treed6ee3f41be65578a9809a597f6ea12acbb4c4f2e /src
parent164d8d26e0cda74bdcb7ac789e3803de514e016e (diff)
expedite - here is good to use EINA_LIST_FOREACH
SVN revision: 78880
Diffstat (limited to 'src')
-rw-r--r--src/bin/ui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 6c19c41..045efe6 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -232,6 +232,7 @@ _ui_all(void)
232 unsigned int t_count = 0; 232 unsigned int t_count = 0;
233 unsigned int i; 233 unsigned int i;
234 double avgw = 0.0; 234 double avgw = 0.0;
235 Menu_Item *mi;
235 236
236 evas_object_hide(o_menu_logo); 237 evas_object_hide(o_menu_logo);
237 evas_object_hide(o_menu_title); 238 evas_object_hide(o_menu_title);
@@ -241,11 +242,9 @@ _ui_all(void)
241 evas_object_hide(o_menu_text_sel); 242 evas_object_hide(o_menu_text_sel);
242 evas_object_hide(o_title); 243 evas_object_hide(o_title);
243 evas_object_hide(o_byline); 244 evas_object_hide(o_byline);
244 for (l = menu; l; l = l->next)
245 {
246 Menu_Item *mi;
247 245
248 mi = l->data; 246 EINA_LIST_FOREACH(menu, l, mi)
247 {
249 if ((mi->func == about_start) || 248 if ((mi->func == about_start) ||
250 (mi->func == _ui_exit) || 249 (mi->func == _ui_exit) ||
251 (mi->func == _ui_all)) 250 (mi->func == _ui_all))