summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-04-24 17:14:34 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-04-24 17:14:34 +0000
commit5067f72bcbf84b7f047676b2775b8889d0536632 (patch)
tree09e1c3c928337697385a6c4d5611af3776635cc2
parent9b5b9e48a67ed642a9222194345f195783c15b82 (diff)
Expedite: warnings--
SVN revision: 58872
-rw-r--r--configure.ac1
-rw-r--r--m4/ac_attribute.m447
-rw-r--r--src/bin/about.c2
-rw-r--r--src/bin/engine_software_gdi.c3
-rw-r--r--src/bin/image_data_argb.c3
-rw-r--r--src/bin/image_data_argb_alpha.c3
-rw-r--r--src/bin/ui.c16
-rw-r--r--src/bin/widgets_file_icons.c4
-rw-r--r--src/bin/widgets_file_icons_2.c4
-rw-r--r--src/bin/widgets_file_icons_2_grouped.c4
-rw-r--r--src/bin/widgets_file_icons_2_same.c4
-rw-r--r--src/bin/widgets_file_icons_2_same_grouped.c4
-rw-r--r--src/bin/widgets_file_icons_3.c4
-rw-r--r--src/bin/widgets_file_icons_4.c4
-rw-r--r--src/bin/widgets_list_1.c4
-rw-r--r--src/bin/widgets_list_1_grouped.c4
-rw-r--r--src/bin/widgets_list_2.c4
-rw-r--r--src/bin/widgets_list_2_grouped.c4
-rw-r--r--src/bin/widgets_list_3.c4
-rw-r--r--src/bin/widgets_list_3_grouped.c4
-rw-r--r--src/bin/widgets_list_4.c4
-rw-r--r--src/bin/widgets_list_4_grouped.c4
22 files changed, 75 insertions, 60 deletions
diff --git a/configure.ac b/configure.ac
index ae3ad89..e5dc838 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,6 +189,7 @@ AM_PROG_CC_STDC
189AC_HEADER_STDC 189AC_HEADER_STDC
190AC_C_CONST 190AC_C_CONST
191AM_PROG_CC_C_O 191AM_PROG_CC_C_O
192AC_C___ATTRIBUTE__
192 193
193WIN32_CFLAGS="" 194WIN32_CFLAGS=""
194case "$host_os" in 195case "$host_os" in
diff --git a/m4/ac_attribute.m4 b/m4/ac_attribute.m4
new file mode 100644
index 0000000..23479a9
--- /dev/null
+++ b/m4/ac_attribute.m4
@@ -0,0 +1,47 @@
1dnl Copyright (C) 2004-2008 Kim Woelders
2dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
3dnl That code is public domain and can be freely used or copied.
4dnl Originally snatched from somewhere...
5
6dnl Macro for checking if the compiler supports __attribute__
7
8dnl Usage: AC_C___ATTRIBUTE__
9dnl call AC_DEFINE for HAVE___ATTRIBUTE__ and __UNUSED__
10dnl if the compiler supports __attribute__, HAVE___ATTRIBUTE__ is
11dnl defined to 1 and __UNUSED__ is defined to __attribute__((unused))
12dnl otherwise, HAVE___ATTRIBUTE__ is not defined and __UNUSED__ is
13dnl defined to nothing.
14
15AC_DEFUN([AC_C___ATTRIBUTE__],
16[
17
18AC_MSG_CHECKING([for __attribute__])
19
20AC_CACHE_VAL([ac_cv___attribute__],
21 [AC_TRY_COMPILE(
22 [
23#include <stdlib.h>
24
25int func(int x);
26int foo(int x __attribute__ ((unused)))
27{
28 exit(1);
29}
30 ],
31 [],
32 [ac_cv___attribute__="yes"],
33 [ac_cv___attribute__="no"]
34 )])
35
36AC_MSG_RESULT($ac_cv___attribute__)
37
38if test "x${ac_cv___attribute__}" = "xyes" ; then
39 AC_DEFINE([HAVE___ATTRIBUTE__], [1], [Define to 1 if your compiler has __attribute__])
40 AC_DEFINE([__UNUSED__], [__attribute__((unused))], [Macro declaring a function argument to be unused])
41 else
42 AC_DEFINE([__UNUSED__], [], [Macro declaring a function argument to be unused])
43fi
44
45])
46
47dnl End of ac_attribute.m4
diff --git a/src/bin/about.c b/src/bin/about.c
index deb6bbe..f36fdbc 100644
--- a/src/bin/about.c
+++ b/src/bin/about.c
@@ -56,7 +56,7 @@ _cleanup(void)
56} 56}
57 57
58static void 58static void
59_loop(double t, int f) 59_loop(double t __UNUSED__, int f __UNUSED__)
60{ 60{
61} 61}
62 62
diff --git a/src/bin/engine_software_gdi.c b/src/bin/engine_software_gdi.c
index 6832986..ecb2754 100644
--- a/src/bin/engine_software_gdi.c
+++ b/src/bin/engine_software_gdi.c
@@ -172,7 +172,7 @@ MainWndProc(HWND hwnd,
172} 172}
173 173
174Eina_Bool 174Eina_Bool
175engine_software_gdi_args(const char *engine, int width, int height) 175engine_software_gdi_args(const char *engine __UNUSED__, int width, int height)
176{ 176{
177 WNDCLASS wc; 177 WNDCLASS wc;
178 RECT rect; 178 RECT rect;
@@ -181,7 +181,6 @@ engine_software_gdi_args(const char *engine, int width, int height)
181 DWORD style; 181 DWORD style;
182 DWORD exstyle; 182 DWORD exstyle;
183 int depth; 183 int depth;
184 int i;
185 184
186 instance = GetModuleHandle(NULL); 185 instance = GetModuleHandle(NULL);
187 if (!instance) return EINA_FALSE; 186 if (!instance) return EINA_FALSE;
diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c
index c063766..90f6779 100644
--- a/src/bin/image_data_argb.c
+++ b/src/bin/image_data_argb.c
@@ -52,7 +52,7 @@ static void _loop(double t, int f)
52 for (i = 0; i < 1; i++) 52 for (i = 0; i < 1; i++)
53 { 53 {
54 unsigned int *data, *p; 54 unsigned int *data, *p;
55 int ff; 55
56 w = 640; 56 w = 640;
57 h = 480; 57 h = 480;
58 x = (win_w / 2) - (w / 2); 58 x = (win_w / 2) - (w / 2);
@@ -63,7 +63,6 @@ static void _loop(double t, int f)
63 data = evas_object_image_data_get(o_images[i], 1); 63 data = evas_object_image_data_get(o_images[i], 1);
64 st = evas_object_image_stride_get(o_images[i]) >> 2; 64 st = evas_object_image_stride_get(o_images[i]) >> 2;
65 p = data; 65 p = data;
66 ff = (f ^ (f << 8) ^ (f << 16) ^ (f << 24));
67 for (y = 0; y < h; y++) 66 for (y = 0; y < h; y++)
68 { 67 {
69 for (x = 0; x < w; x++) 68 for (x = 0; x < w; x++)
diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
index 6c7fc33..1498fb7 100644
--- a/src/bin/image_data_argb_alpha.c
+++ b/src/bin/image_data_argb_alpha.c
@@ -52,7 +52,7 @@ static void _loop(double t, int f)
52 for (i = 0; i < 1; i++) 52 for (i = 0; i < 1; i++)
53 { 53 {
54 unsigned int *data, *p; 54 unsigned int *data, *p;
55 int ff, a, r, g, b; 55 int a, r, g, b;
56 w = 640; 56 w = 640;
57 h = 480; 57 h = 480;
58 x = (win_w / 2) - (w / 2); 58 x = (win_w / 2) - (w / 2);
@@ -63,7 +63,6 @@ static void _loop(double t, int f)
63 data = evas_object_image_data_get(o_images[i], 1); 63 data = evas_object_image_data_get(o_images[i], 1);
64 st = evas_object_image_stride_get(o_images[i]) >> 2; 64 st = evas_object_image_stride_get(o_images[i]) >> 2;
65 p = data; 65 p = data;
66 ff = (f ^ (f << 8) ^ (f << 16) ^ (f << 24));
67 for (y = 0; y < h; y++) 66 for (y = 0; y < h; y++)
68 { 67 {
69 for (x = 0; x < w; x++) 68 for (x = 0; x < w; x++)
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 9e1dad7..b5db731 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -194,7 +194,7 @@ _ui_all(void)
194 double fps = 0.0; 194 double fps = 0.0;
195 double wfps = 0.0; 195 double wfps = 0.0;
196 int t_count = 0; 196 int t_count = 0;
197 int i; 197 unsigned int i;
198 double avgw = 0.0; 198 double avgw = 0.0;
199 199
200 evas_object_hide(o_menu_logo); 200 evas_object_hide(o_menu_logo);
@@ -281,7 +281,7 @@ _ui_num(int n)
281 double wfps = 0.0; 281 double wfps = 0.0;
282 int t_count = 0; 282 int t_count = 0;
283 Menu_Item *mi; 283 Menu_Item *mi;
284 int i; 284 unsigned int i;
285 double avgw = 0.0; 285 double avgw = 0.0;
286 286
287 evas_object_hide(o_menu_logo); 287 evas_object_hide(o_menu_logo);
@@ -359,7 +359,7 @@ _ui_select(void)
359} 359}
360 360
361static void 361static void
362_ui_key(void *data, Evas *e, Evas_Object *obj, void *event_info) 362_ui_key(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
363{ 363{
364 Evas_Event_Key_Down *ev; 364 Evas_Event_Key_Down *ev;
365 365
@@ -380,7 +380,7 @@ _ui_key(void *data, Evas *e, Evas_Object *obj, void *event_info)
380 if (!strcmp(ev->keyname, "Left")) menu_sel++; 380 if (!strcmp(ev->keyname, "Left")) menu_sel++;
381 if (!strcmp(ev->keyname, "Right")) menu_sel--; 381 if (!strcmp(ev->keyname, "Right")) menu_sel--;
382 if (menu_sel < 0) menu_sel = 0; 382 if (menu_sel < 0) menu_sel = 0;
383 else if (menu_sel >= eina_list_count(menu)) menu_sel = eina_list_count(menu) - 1; 383 else if ((unsigned int)menu_sel >= eina_list_count(menu)) menu_sel = eina_list_count(menu) - 1;
384 menu_anim_sel = menu_sel; 384 menu_anim_sel = menu_sel;
385 if (!strcmp(ev->keyname, "Return")) _ui_select(); 385 if (!strcmp(ev->keyname, "Return")) _ui_select();
386 } 386 }
@@ -391,7 +391,7 @@ static int down = 0;
391static int down_menu_sel = 0; 391static int down_menu_sel = 0;
392 392
393static void 393static void
394_ui_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info) 394_ui_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
395{ 395{
396 Evas_Event_Mouse_Down *ev; 396 Evas_Event_Mouse_Down *ev;
397 397
@@ -410,7 +410,7 @@ _ui_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
410} 410}
411 411
412static void 412static void
413_ui_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info) 413_ui_mouse_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
414{ 414{
415 Evas_Event_Mouse_Up *ev; 415 Evas_Event_Mouse_Up *ev;
416 416
@@ -435,7 +435,7 @@ _ui_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info)
435} 435}
436 436
437static void 437static void
438_ui_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_info) 438_ui_mouse_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
439{ 439{
440 Evas_Event_Mouse_Move *ev; 440 Evas_Event_Mouse_Move *ev;
441 441
@@ -446,7 +446,7 @@ _ui_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_info)
446 menu_sel = down_menu_sel + ((ev->cur.canvas.x - down_x) / 25); 446 menu_sel = down_menu_sel + ((ev->cur.canvas.x - down_x) / 25);
447 /* scroll */ 447 /* scroll */
448 if (menu_sel < 0) menu_sel = 0; 448 if (menu_sel < 0) menu_sel = 0;
449 else if (menu_sel >= eina_list_count(menu)) menu_sel = eina_list_count(menu) - 1; 449 else if ((unsigned int)menu_sel >= eina_list_count(menu)) menu_sel = eina_list_count(menu) - 1;
450 menu_anim_sel = menu_sel; 450 menu_anim_sel = menu_sel;
451 } 451 }
452 else 452 else
diff --git a/src/bin/widgets_file_icons.c b/src/bin/widgets_file_icons.c
index bf1e230..f603c57 100644
--- a/src/bin/widgets_file_icons.c
+++ b/src/bin/widgets_file_icons.c
@@ -77,11 +77,9 @@ static void _cleanup(void)
77static void _loop(double t, int f) 77static void _loop(double t, int f)
78{ 78{
79 int i; 79 int i;
80 Evas_Coord x, y, w, h, tw, th, cent; 80 Evas_Coord x, y, tw, th, cent;
81 x = 0; 81 x = 0;
82 y = 0 - f; 82 y = 0 - f;
83 w = ICON_SIZE;
84 h = ICON_SIZE;
85 for (i = 0; i < NUM; i++) 83 for (i = 0; i < NUM; i++)
86 { 84 {
87 evas_object_move(o_images[i], x + 8, y); 85 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_2.c b/src/bin/widgets_file_icons_2.c
index cf54f5b..8536d3b 100644
--- a/src/bin/widgets_file_icons_2.c
+++ b/src/bin/widgets_file_icons_2.c
@@ -75,11 +75,9 @@ static void _cleanup(void)
75static void _loop(double t, int f) 75static void _loop(double t, int f)
76{ 76{
77 int i; 77 int i;
78 Evas_Coord x, y, w, h, tw, th, cent; 78 Evas_Coord x, y, tw, th, cent;
79 x = 0; 79 x = 0;
80 y = 0 - f; 80 y = 0 - f;
81 w = ICON_SIZE;
82 h = ICON_SIZE;
83 for (i = 0; i < NUM; i++) 81 for (i = 0; i < NUM; i++)
84 { 82 {
85 evas_object_move(o_images[i], x + 8, y); 83 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_2_grouped.c b/src/bin/widgets_file_icons_2_grouped.c
index 87dc91c..31b6c1b 100644
--- a/src/bin/widgets_file_icons_2_grouped.c
+++ b/src/bin/widgets_file_icons_2_grouped.c
@@ -83,11 +83,9 @@ static void _cleanup(void)
83static void _loop(double t, int f) 83static void _loop(double t, int f)
84{ 84{
85 int i; 85 int i;
86 Evas_Coord x, y, w, h, tw, th, cent; 86 Evas_Coord x, y, tw, th, cent;
87 x = 0; 87 x = 0;
88 y = 0 - f; 88 y = 0 - f;
89 w = ICON_SIZE;
90 h = ICON_SIZE;
91 for (i = 0; i < NUM; i++) 89 for (i = 0; i < NUM; i++)
92 { 90 {
93 evas_object_move(o_images[i], x + 8, y); 91 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c
index 47b9b48..7dbf9ff 100644
--- a/src/bin/widgets_file_icons_2_same.c
+++ b/src/bin/widgets_file_icons_2_same.c
@@ -60,11 +60,9 @@ static void _cleanup(void)
60static void _loop(double t, int f) 60static void _loop(double t, int f)
61{ 61{
62 int i; 62 int i;
63 Evas_Coord x, y, w, h, tw, th, cent; 63 Evas_Coord x, y, tw, th, cent;
64 x = 0; 64 x = 0;
65 y = 0 - f; 65 y = 0 - f;
66 w = ICON_SIZE;
67 h = ICON_SIZE;
68 for (i = 0; i < NUM; i++) 66 for (i = 0; i < NUM; i++)
69 { 67 {
70 evas_object_move(o_images[i], x + 8, y); 68 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_2_same_grouped.c b/src/bin/widgets_file_icons_2_same_grouped.c
index 5a2e6a0..f5e8324 100644
--- a/src/bin/widgets_file_icons_2_same_grouped.c
+++ b/src/bin/widgets_file_icons_2_same_grouped.c
@@ -64,11 +64,9 @@ static void _cleanup(void)
64static void _loop(double t, int f) 64static void _loop(double t, int f)
65{ 65{
66 int i; 66 int i;
67 Evas_Coord x, y, w, h, tw, th, cent; 67 Evas_Coord x, y, tw, th, cent;
68 x = 0; 68 x = 0;
69 y = 0 - f; 69 y = 0 - f;
70 w = ICON_SIZE;
71 h = ICON_SIZE;
72 for (i = 0; i < NUM; i++) 70 for (i = 0; i < NUM; i++)
73 { 71 {
74 evas_object_move(o_images[i], x + 8, y); 72 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_3.c b/src/bin/widgets_file_icons_3.c
index afde3af..72e26ab 100644
--- a/src/bin/widgets_file_icons_3.c
+++ b/src/bin/widgets_file_icons_3.c
@@ -75,11 +75,9 @@ static void _cleanup(void)
75static void _loop(double t, int f) 75static void _loop(double t, int f)
76{ 76{
77 int i; 77 int i;
78 Evas_Coord x, y, w, h, tw, th, cent; 78 Evas_Coord x, y, tw, th, cent;
79 x = 0; 79 x = 0;
80 y = 0 - f; 80 y = 0 - f;
81 w = ICON_SIZE;
82 h = ICON_SIZE;
83 for (i = 0; i < NUM; i++) 81 for (i = 0; i < NUM; i++)
84 { 82 {
85 evas_object_move(o_images[i], x + 8, y); 83 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_file_icons_4.c b/src/bin/widgets_file_icons_4.c
index 9ca6625..9955dca 100644
--- a/src/bin/widgets_file_icons_4.c
+++ b/src/bin/widgets_file_icons_4.c
@@ -75,11 +75,9 @@ static void _cleanup(void)
75static void _loop(double t, int f) 75static void _loop(double t, int f)
76{ 76{
77 int i; 77 int i;
78 Evas_Coord x, y, w, h, tw, th, cent; 78 Evas_Coord x, y, tw, th, cent;
79 x = 0; 79 x = 0;
80 y = 0 - f; 80 y = 0 - f;
81 w = ICON_SIZE;
82 h = ICON_SIZE;
83 for (i = 0; i < NUM; i++) 81 for (i = 0; i < NUM; i++)
84 { 82 {
85 evas_object_move(o_images[i], x + 8, y); 83 evas_object_move(o_images[i], x + 8, y);
diff --git a/src/bin/widgets_list_1.c b/src/bin/widgets_list_1.c
index 64cd2a1..98a6296 100644
--- a/src/bin/widgets_list_1.c
+++ b/src/bin/widgets_list_1.c
@@ -91,11 +91,9 @@ static void _cleanup(void)
91static void _loop(double t, int f) 91static void _loop(double t, int f)
92{ 92{
93 int i; 93 int i;
94 Evas_Coord x, y, w, h, tw, th, cent; 94 Evas_Coord x, y, tw, th, cent;
95 x = 0; 95 x = 0;
96 y = 0 - f; 96 y = 0 - f;
97 w = win_w;
98 h = ICON_SIZE;
99 for (i = 0; i < NUM; i++) 97 for (i = 0; i < NUM; i++)
100 { 98 {
101 evas_object_move(o_images[i], x, y); 99 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_1_grouped.c b/src/bin/widgets_list_1_grouped.c
index b327efb..8117dbd 100644
--- a/src/bin/widgets_list_1_grouped.c
+++ b/src/bin/widgets_list_1_grouped.c
@@ -99,11 +99,9 @@ static void _cleanup(void)
99static void _loop(double t, int f) 99static void _loop(double t, int f)
100{ 100{
101 int i; 101 int i;
102 Evas_Coord x, y, w, h, tw, th, cent; 102 Evas_Coord x, y, tw, th, cent;
103 x = 0; 103 x = 0;
104 y = 0 - f; 104 y = 0 - f;
105 w = win_w;
106 h = ICON_SIZE;
107 for (i = 0; i < NUM; i++) 105 for (i = 0; i < NUM; i++)
108 { 106 {
109 evas_object_move(o_images[i], x, y); 107 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_2.c b/src/bin/widgets_list_2.c
index 56dff92..4cd84e5 100644
--- a/src/bin/widgets_list_2.c
+++ b/src/bin/widgets_list_2.c
@@ -91,11 +91,9 @@ static void _cleanup(void)
91static void _loop(double t, int f) 91static void _loop(double t, int f)
92{ 92{
93 int i; 93 int i;
94 Evas_Coord x, y, w, h, tw, th, cent; 94 Evas_Coord x, y, tw, th, cent;
95 x = 0; 95 x = 0;
96 y = 0 - f; 96 y = 0 - f;
97 w = win_w;
98 h = ICON_SIZE;
99 for (i = 0; i < NUM; i++) 97 for (i = 0; i < NUM; i++)
100 { 98 {
101 evas_object_move(o_images[i], x, y); 99 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c
index fae8011..ed3f0a0 100644
--- a/src/bin/widgets_list_2_grouped.c
+++ b/src/bin/widgets_list_2_grouped.c
@@ -99,11 +99,9 @@ static void _cleanup(void)
99static void _loop(double t, int f) 99static void _loop(double t, int f)
100{ 100{
101 int i; 101 int i;
102 Evas_Coord x, y, w, h, tw, th, cent; 102 Evas_Coord x, y, tw, th, cent;
103 x = 0; 103 x = 0;
104 y = 0 - f; 104 y = 0 - f;
105 w = win_w;
106 h = ICON_SIZE;
107 for (i = 0; i < NUM; i++) 105 for (i = 0; i < NUM; i++)
108 { 106 {
109 evas_object_move(o_images[i], x, y); 107 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_3.c b/src/bin/widgets_list_3.c
index ae022cd..bc75d8f 100644
--- a/src/bin/widgets_list_3.c
+++ b/src/bin/widgets_list_3.c
@@ -120,11 +120,9 @@ static void _cleanup(void)
120static void _loop(double t, int f) 120static void _loop(double t, int f)
121{ 121{
122 int i; 122 int i;
123 Evas_Coord x, y, w, h, tw, th, cent; 123 Evas_Coord x, y, tw, th, cent;
124 x = 0; 124 x = 0;
125 y = 0 - f; 125 y = 0 - f;
126 w = win_w;
127 h = ICON_SIZE;
128 for (i = 0; i < NUM; i++) 126 for (i = 0; i < NUM; i++)
129 { 127 {
130 evas_object_move(o_images[i], x, y); 128 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_3_grouped.c b/src/bin/widgets_list_3_grouped.c
index d545f0f..82ad974 100644
--- a/src/bin/widgets_list_3_grouped.c
+++ b/src/bin/widgets_list_3_grouped.c
@@ -136,11 +136,9 @@ static void _cleanup(void)
136static void _loop(double t, int f) 136static void _loop(double t, int f)
137{ 137{
138 int i; 138 int i;
139 Evas_Coord x, y, w, h, tw, th, cent; 139 Evas_Coord x, y, tw, th, cent;
140 x = 0; 140 x = 0;
141 y = 0 - f; 141 y = 0 - f;
142 w = win_w;
143 h = ICON_SIZE;
144 for (i = 0; i < NUM; i++) 142 for (i = 0; i < NUM; i++)
145 { 143 {
146 evas_object_move(o_images[i], x, y); 144 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_4.c b/src/bin/widgets_list_4.c
index 4291b29..ca30a93 100644
--- a/src/bin/widgets_list_4.c
+++ b/src/bin/widgets_list_4.c
@@ -120,11 +120,9 @@ static void _cleanup(void)
120static void _loop(double t, int f) 120static void _loop(double t, int f)
121{ 121{
122 int i; 122 int i;
123 Evas_Coord x, y, w, h, tw, th, cent; 123 Evas_Coord x, y, tw, th, cent;
124 x = 0; 124 x = 0;
125 y = 0 - f; 125 y = 0 - f;
126 w = win_w;
127 h = ICON_SIZE;
128 for (i = 0; i < NUM; i++) 126 for (i = 0; i < NUM; i++)
129 { 127 {
130 evas_object_move(o_images[i], x, y); 128 evas_object_move(o_images[i], x, y);
diff --git a/src/bin/widgets_list_4_grouped.c b/src/bin/widgets_list_4_grouped.c
index 2cb9aae..42108a4 100644
--- a/src/bin/widgets_list_4_grouped.c
+++ b/src/bin/widgets_list_4_grouped.c
@@ -136,11 +136,9 @@ static void _cleanup(void)
136static void _loop(double t, int f) 136static void _loop(double t, int f)
137{ 137{
138 int i; 138 int i;
139 Evas_Coord x, y, w, h, tw, th, cent; 139 Evas_Coord x, y, tw, th, cent;
140 x = 0; 140 x = 0;
141 y = 0 - f; 141 y = 0 - f;
142 w = win_w;
143 h = ICON_SIZE;
144 for (i = 0; i < NUM; i++) 142 for (i = 0; i < NUM; i++)
145 { 143 {
146 evas_object_move(o_images[i], x, y); 144 evas_object_move(o_images[i], x, y);