aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options.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.c
parentfix shadow variable 'i' (diff)
downloadterminology-76f1bf4342e05d12d2395f09cea7286343e18557.tar.gz
prefix EINA_UNUSED parameters with an underscore
and fix related issues
Diffstat (limited to 'src/bin/options.c')
-rw-r--r--src/bin/options.c23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index 45ac9a8..2774e75 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -38,7 +38,9 @@ static enum option_mode {
} _mode = 0;
static void
-_cb_op(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
enum option_mode mode = (intptr_t) data;
@@ -48,14 +50,14 @@ _cb_op(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_op_tmp_chg(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op_tmp_chg(void *data, Evas_Object *obj, void *_event EINA_UNUSED)
{
Config *config = data;
config->temporary = elm_check_state_get(obj);
}
static Eina_Bool
-_cb_op_del_delay(void *data EINA_UNUSED)
+_cb_op_del_delay(void *_data EINA_UNUSED)
{
evas_object_del(op_opbox);
evas_object_del(op_frame);
@@ -70,13 +72,19 @@ _cb_op_del_delay(void *data EINA_UNUSED)
}
static void
-_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_mouse_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
options_toggle(saved_win, saved_bg, data, op_donecb, op_donedata);
}
static void
-_cb_opdt_hide_done(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_opdt_hide_done(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
elm_box_clear(op_opbox);
switch (_mode)
@@ -96,7 +104,10 @@ _cb_opdt_hide_done(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EIN
}
static void
-_cb_opdt_hide_done2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_opdt_hide_done2(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
if (op_del_timer)
{