aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options_font.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_font.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_font.c')
-rw-r--r--src/bin/options_font.c41
1 files changed, 31 insertions, 10 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index c7abe28..ab13185 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -128,7 +128,9 @@ _parse_font_name(const char *full_name,
}
static void
-_cb_op_font_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op_font_sel(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Font *f = data;
Config *config = termio_config_get(f->term);
@@ -145,7 +147,9 @@ _cb_op_font_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSE
}
static void
-_cb_op_fontsize_sel(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_fontsize_sel(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -165,7 +169,10 @@ _cb_op_font_sort(const void *d1, const void *d2)
}
static void
-_cb_op_font_preview_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_font_preview_del(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *o;
Ecore_Timer *timer = evas_object_data_get(obj, "delay");
@@ -233,7 +240,10 @@ done:
}
static void
-_cb_op_font_preview_eval(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_font_preview_eval(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Font *f = data;
Evas_Coord ox, oy, ow, oh, vx, vy, vw, vh;
@@ -287,20 +297,27 @@ _cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
}
static char *
-_cb_op_font_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
+_cb_op_font_text_get(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_part EINA_UNUSED)
{
Font *f = data;
return strdup(f->pretty_name);
}
static char *
-_cb_op_font_group_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
+_cb_op_font_group_text_get(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_part EINA_UNUSED)
{
return strdup(data);
}
static void
-_cb_term_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_term_resize(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
if (expecting_resize)
@@ -312,7 +329,10 @@ _cb_term_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
}
static void
-_cb_font_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_font_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
evas_object_event_callback_del_full(term, EVAS_CALLBACK_RESIZE,
@@ -343,8 +363,9 @@ options_font_clear(void)
}
static void
-_cb_font_bolditalic(void *data, Evas_Object *obj,
- void *event EINA_UNUSED)
+_cb_font_bolditalic(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);