summaryrefslogtreecommitdiff
path: root/src/bin/options_colors.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-10-05 22:00:22 +0200
committerBoris Faure <billiob@gmail.com>2016-10-05 22:00:22 +0200
commit76f1bf4342e05d12d2395f09cea7286343e18557 (patch)
tree9c184d7263047441ef7be1adcf8fb926e1312596 /src/bin/options_colors.c
parenta2bedb628196cdccf249565984fa64ff7668952d (diff)
prefix EINA_UNUSED parameters with an underscore
and fix related issues
Diffstat (limited to 'src/bin/options_colors.c')
-rw-r--r--src/bin/options_colors.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/bin/options_colors.c b/src/bin/options_colors.c
index d9cd0de..6353a92 100644
--- a/src/bin/options_colors.c
+++ b/src/bin/options_colors.c
@@ -30,7 +30,9 @@ static Evas_Object *colpal[4] = { NULL };
30static Evas_Object *label = NULL, *reset = NULL; 30static Evas_Object *label = NULL, *reset = NULL;
31 31
32static void 32static void
33_cb_op_use_custom_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED) 33_cb_op_use_custom_chg(void *data,
34 Evas_Object *obj,
35 void *_event EINA_UNUSED)
34{ 36{
35 Evas_Object *term = data; 37 Evas_Object *term = data;
36 Config *config = termio_config_get(term); 38 Config *config = termio_config_get(term);
@@ -47,7 +49,9 @@ _cb_op_use_custom_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA
47} 49}
48 50
49static void 51static void
50_cb_op_color_item_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event) 52_cb_op_color_item_sel(void *_data EINA_UNUSED,
53 Evas_Object *_obj EINA_UNUSED,
54 void *event)
51{ 55{
52 Elm_Object_Item *it = event; 56 Elm_Object_Item *it = event;
53 int r = 0, g = 0, b = 0, a = 0; 57 int r = 0, g = 0, b = 0, a = 0;
@@ -73,7 +77,9 @@ _cb_op_color_item_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
73} 77}
74 78
75static void 79static void
76_cb_op_color_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED) 80_cb_op_color_chg(void *data,
81 Evas_Object *obj,
82 void *_event EINA_UNUSED)
77{ 83{
78 Evas_Object *term = data; 84 Evas_Object *term = data;
79 Config *config = termio_config_get(term); 85 Config *config = termio_config_get(term);
@@ -107,7 +113,9 @@ _cb_op_color_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUS
107} 113}
108 114
109static void 115static void
110_cb_op_reset(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED) 116_cb_op_reset(void *data,
117 Evas_Object *_obj EINA_UNUSED,
118 void *_event EINA_UNUSED)
111{ 119{
112 Evas_Object *term = data; 120 Evas_Object *term = data;
113 Config *config = termio_config_get(term); 121 Config *config = termio_config_get(term);
@@ -144,7 +152,10 @@ _cb_op_reset(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event E
144} 152}
145 153
146static void 154static void
147_cb_op_scroller_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED) 155_cb_op_scroller_resize(void *_data EINA_UNUSED,
156 Evas *_e EINA_UNUSED,
157 Evas_Object *_obj EINA_UNUSED,
158 void *_event EINA_UNUSED)
148{ 159{
149 // make color palettes wrap back. :) works with elm git. 160 // make color palettes wrap back. :) works with elm git.
150 int i; 161 int i;