aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin
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
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')
-rw-r--r--src/bin/about.c7
-rw-r--r--src/bin/config.c2
-rw-r--r--src/bin/controls.c74
-rw-r--r--src/bin/gravatar.c6
-rw-r--r--src/bin/ipc.c4
-rw-r--r--src/bin/keyin.c2
-rw-r--r--src/bin/main.c10
-rw-r--r--src/bin/media.c112
-rw-r--r--src/bin/miniview.c36
-rw-r--r--src/bin/options.c23
-rw-r--r--src/bin/options_behavior.c23
-rw-r--r--src/bin/options_colors.c21
-rw-r--r--src/bin/options_elm.c8
-rw-r--r--src/bin/options_font.c41
-rw-r--r--src/bin/options_helpers.c32
-rw-r--r--src/bin/options_keys.c69
-rw-r--r--src/bin/options_theme.c8
-rw-r--r--src/bin/options_themepv.c5
-rw-r--r--src/bin/options_video.c20
-rw-r--r--src/bin/options_wallpaper.c29
-rw-r--r--src/bin/sel.c29
-rw-r--r--src/bin/termcmd.c21
-rw-r--r--src/bin/termio.c201
-rw-r--r--src/bin/termiolink.c5
-rw-r--r--src/bin/termpty.c4
-rw-r--r--src/bin/termptyesc.c8
-rw-r--r--src/bin/termptyext.c4
-rw-r--r--src/bin/utils.c5
-rw-r--r--src/bin/win.c266
29 files changed, 748 insertions, 327 deletions
diff --git a/src/bin/about.c b/src/bin/about.c
index d1608b2..3247dad 100644
--- a/src/bin/about.c
+++ b/src/bin/about.c
@@ -14,7 +14,7 @@ static void (*ab_donecb) (void *data) = NULL;
static void *ab_donedata = NULL;
static Eina_Bool
-_cb_ab_del_delay(void *data EINA_UNUSED)
+_cb_ab_del_delay(void *_data EINA_UNUSED)
{
evas_object_del(ab_layout);
ab_layout = NULL;
@@ -24,7 +24,10 @@ _cb_ab_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)
{
about_toggle(saved_win, saved_bg, data, ab_donecb, ab_donedata);
}
diff --git a/src/bin/config.c b/src/bin/config.c
index a0766ad..2ead19a 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -771,7 +771,7 @@ config_theme_path_get(const Config *config)
}
const char *
-config_theme_path_default_get(const Config *config EINA_UNUSED)
+config_theme_path_default_get(const Config *config)
{
static char path[PATH_MAX] = "";
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 23297af..d5722ea 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -16,7 +16,9 @@ static void (*ct_donecb) (void *data) = NULL;
static void *ct_donedata = NULL;
static void
-_cb_sel_on(void *data EINA_UNUSED, Evas_Object *term EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_sel_on(void *_data EINA_UNUSED,
+ Evas_Object *_term EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
Evas_Object *bt_copy = evas_object_data_get(ct_frame, "bt_copy");
if (bt_copy)
@@ -24,7 +26,9 @@ _cb_sel_on(void *data EINA_UNUSED, Evas_Object *term EINA_UNUSED, void *ev EINA_
}
static void
-_cb_sel_off(void *data EINA_UNUSED, Evas_Object *term EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_sel_off(void *_data EINA_UNUSED,
+ Evas_Object *_term EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
Evas_Object *bt_copy = evas_object_data_get(ct_frame, "bt_copy");
if (bt_copy)
@@ -32,7 +36,7 @@ _cb_sel_off(void *data EINA_UNUSED, Evas_Object *term EINA_UNUSED, void *ev EINA
}
static Eina_Bool
-_cb_ct_del_delay(void *data EINA_UNUSED)
+_cb_ct_del_delay(void *_data EINA_UNUSED)
{
if (ct_over)
{
@@ -50,81 +54,103 @@ _cb_ct_del_delay(void *data EINA_UNUSED)
}
static void
-_cb_ct_copy(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_ct_copy(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
termio_take_selection(ct_term, ELM_SEL_TYPE_CLIPBOARD);
controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
}
static void
-_cb_ct_paste(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_ct_paste(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
termio_paste_selection(ct_term, ELM_SEL_TYPE_CLIPBOARD);
controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
}
static void
-_cb_ct_new(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_new(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
main_new(ct_win, ct_term);
}
static void
-_cb_ct_split_v(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_split_v(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
split_vertically(ct_win, ct_term, NULL);
}
static void
-_cb_ct_split_h(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_split_h(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
split_horizontally(ct_win, ct_term, NULL);
}
static void
-_cb_ct_miniview(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_miniview(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
term_miniview_toggle(termio_term_get(ct_term));
}
static void
-_cb_ct_set_title(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_set_title(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
term_set_title(termio_term_get(ct_term));
}
static void
-_cb_ct_close(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_close(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
term_close(ct_win, ct_term, EINA_FALSE);
}
static void
-_cb_ct_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_options(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
options_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
}
static void
-_cb_ct_about(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_ct_about(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
about_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
}
static void
-_cb_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_mouse_down(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
}
static void
-_cb_frame_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_frame_del(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
if (ct_win)
{
@@ -135,13 +161,19 @@ _cb_frame_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA
}
static void
-_cb_over_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_over_del(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_ev EINA_UNUSED)
{
ct_over = NULL;
}
static void
-_cb_saved_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
+_cb_saved_del(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_ev EINA_UNUSED)
{
if ((obj == ct_win) || (obj == ct_term))
{
diff --git a/src/bin/gravatar.c b/src/bin/gravatar.c
index 570b063..06cbea9 100644
--- a/src/bin/gravatar.c
+++ b/src/bin/gravatar.c
@@ -34,7 +34,7 @@ typedef struct _Gravatar {
static Evas_Object *
_tooltip_content(void *data,
Evas_Object *obj,
- Evas_Object *tt EINA_UNUSED)
+ Evas_Object *_tt EINA_UNUSED)
{
Gravatar *g = data;
Evas_Object *o;
@@ -47,8 +47,8 @@ _tooltip_content(void *data,
static void
_tooltip_del(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Gravatar *g = data;
eina_stringshare_del(g->url);
diff --git a/src/bin/ipc.c b/src/bin/ipc.c
index 8a4f12d..86081b5 100644
--- a/src/bin/ipc.c
+++ b/src/bin/ipc.c
@@ -11,7 +11,9 @@ static void (*func_new_inst) (Ipc_Instance *inst) = NULL;
static Eet_Data_Descriptor *new_inst_edd = NULL;
static Eina_Bool
-_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
+_ipc_cb_client_data(void *_data EINA_UNUSED,
+ int _type EINA_UNUSED,
+ void *event)
{
Ecore_Ipc_Event_Client_Data *e = event;
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index f5e6d3e..5907e83 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -689,7 +689,7 @@ shortcut_actions_get(void)
/* {{{ Key bindings */
static unsigned int
-_key_binding_key_length(EINA_UNUSED const void *key)
+_key_binding_key_length(const void *_key EINA_UNUSED)
{
return 0;
}
diff --git a/src/bin/main.c b/src/bin/main.c
index 0dc43de..0f2f7e5 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -439,13 +439,13 @@ _translate_options(void)
#ifdef ENABLE_FUZZING
#include <syslog.h>
static void
-_log_to_syslog(const Eina_Log_Domain *d EINA_UNUSED,
+_log_to_syslog(const Eina_Log_Domain *_d EINA_UNUSED,
Eina_Log_Level level,
- const char *file EINA_UNUSED,
- const char *fnc EINA_UNUSED,
- int line EINA_UNUSED,
+ const char *_file EINA_UNUSED,
+ const char *_fnc EINA_UNUSED,
+ int _line EINA_UNUSED,
const char *fmt,
- void *data EINA_UNUSED,
+ void *_data EINA_UNUSED,
va_list args)
{
int priority;
diff --git a/src/bin/media.c b/src/bin/media.c
index da7d2c1..9b67268 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -75,7 +75,7 @@ static void _et_init(void);
static int _type_thumb_init2(Evas_Object *obj);
static void
-_et_disconnect(void *data EINA_UNUSED, Ethumb_Client *c)
+_et_disconnect(void *_data EINA_UNUSED, Ethumb_Client *c)
{
if (c != et_client) return;
ethumb_client_disconnect(et_client);
@@ -85,7 +85,7 @@ _et_disconnect(void *data EINA_UNUSED, Ethumb_Client *c)
}
static void
-_et_connect(void *data EINA_UNUSED, Ethumb_Client *c, Eina_Bool ok)
+_et_connect(void *_data EINA_UNUSED, Ethumb_Client *c, Eina_Bool ok)
{
if (ok)
{
@@ -148,7 +148,10 @@ _type_thumb_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Eva
}
static void
-_cb_thumb_preloaded(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_thumb_preloaded(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
Evas_Coord ox, oy, ow, oh;
@@ -161,7 +164,8 @@ _cb_thumb_preloaded(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSE
}
static void
-_et_done(Ethumb_Client *c EINA_UNUSED, const char *file, const char *key, void *data)
+_et_done(Ethumb_Client *_c EINA_UNUSED,
+ const char *file, const char *key, void *data)
{
Evas_Object *obj = data;
Media *sd = evas_object_smart_data_get(obj);
@@ -177,7 +181,7 @@ _et_done(Ethumb_Client *c EINA_UNUSED, const char *file, const char *key, void *
}
static void
-_et_error(Ethumb_Client *c EINA_UNUSED, void *data)
+_et_error(Ethumb_Client *_c EINA_UNUSED, void *data)
{
Evas_Object *obj = data;
Media *sd = evas_object_smart_data_get(obj);
@@ -267,7 +271,10 @@ _type_thumb_init(Evas_Object *obj)
//////////////////////// img
static void
-_cb_img_preloaded(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_img_preloaded(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -410,7 +417,10 @@ _type_img_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_
//////////////////////// scalable img
static void
-_cb_scale_preloaded(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_scale_preloaded(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -533,7 +543,10 @@ _type_scale_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Eva
//////////////////////// edj
static void
-_cb_edje_preloaded(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_edje_preloaded(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -587,7 +600,9 @@ _type_edje_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas
static void _type_mov_calc(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
static void
-_cb_mov_frame_decode(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_frame_decode(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
Evas_Coord ox, oy, ow, oh;
@@ -607,7 +622,9 @@ _cb_mov_frame_decode(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_
}
static void
-_cb_mov_frame_resize(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_frame_resize(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
Evas_Coord ox, oy, ow, oh;
@@ -618,7 +635,9 @@ _cb_mov_frame_resize(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_
}
static void
-_cb_mov_len_change(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_len_change(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -635,7 +654,9 @@ _cb_mov_restart(void *data)
}
static void
-_cb_mov_decode_stop(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_decode_stop(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -645,7 +666,9 @@ _cb_mov_decode_stop(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_U
}
static void
-_cb_mov_progress(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_progress(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -655,7 +678,9 @@ _cb_mov_progress(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUS
}
static void
-_cb_mov_ref(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_mov_ref(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(data);
if (!sd) return;
@@ -665,25 +690,37 @@ _cb_mov_ref(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_media_play(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_play(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
media_play_set(data, EINA_TRUE);
}
static void
-_cb_media_pause(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_pause(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
media_play_set(data, EINA_FALSE);
}
static void
-_cb_media_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_stop(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
media_stop(data);
}
static void
-_cb_media_vol(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_vol(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
double vx, vy;
Media *sd = evas_object_smart_data_get(data);
@@ -693,7 +730,10 @@ _cb_media_vol(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EIN
}
static void
-_cb_media_pos_drag_start(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_pos_drag_start(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
double vx, vy;
Media *sd = evas_object_smart_data_get(data);
@@ -702,8 +742,12 @@ _cb_media_pos_drag_start(void *data, Evas_Object *obj EINA_UNUSED, const char *e
edje_object_part_drag_value_get(sd->o_ctrl, "terminology.posdrag", &vx, &vy);
media_position_set(data, vx + vy);
}
+
static void
-_cb_media_pos_drag_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_pos_drag_stop(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
double pos, len;
Media *sd = evas_object_smart_data_get(data);
@@ -714,8 +758,12 @@ _cb_media_pos_drag_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *em
pos /= len;
edje_object_part_drag_value_set(sd->o_ctrl, "terminology.posdrag", pos, pos);
}
+
static void
-_cb_media_pos(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_cb_media_pos(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
double vx, vy;
Media *sd = evas_object_smart_data_get(data);
@@ -1037,7 +1085,9 @@ _smart_calculate(Evas_Object *obj)
}
static void
-_smart_move(Evas_Object *obj, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
+_smart_move(Evas_Object *obj,
+ Evas_Coord _x EINA_UNUSED,
+ Evas_Coord _y EINA_UNUSED)
{
Media *sd = evas_object_smart_data_get(obj);
if (!sd) return;
@@ -1045,7 +1095,9 @@ _smart_move(Evas_Object *obj, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED
}
static Eina_Bool
-_url_prog_cb(void *data, int type EINA_UNUSED, void *event_info)
+_url_prog_cb(void *data,
+ int _type EINA_UNUSED,
+ void *event_info)
{
Ecore_Con_Event_Url_Progress *ev = event_info;
Evas_Object *obj = data;
@@ -1073,7 +1125,9 @@ _url_prog_cb(void *data, int type EINA_UNUSED, void *event_info)
}
static Eina_Bool
-_url_compl_cb(void *data, int type EINA_UNUSED, void *event_info)
+_url_compl_cb(void *data,
+ int _type EINA_UNUSED,
+ void *event_info)
{
Ecore_Con_Event_Url_Complete *ev = event_info;
Evas_Object *obj = data;
@@ -1114,7 +1168,10 @@ _url_compl_cb(void *data, int type EINA_UNUSED, void *event_info)
}
static void
-_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_mouse_down_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Media *sd = evas_object_smart_data_get(data);
@@ -1128,7 +1185,10 @@ _mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
}
static void
-_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_mouse_up_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Up *ev = event;
Media *sd = evas_object_smart_data_get(data);
diff --git a/src/bin/miniview.c b/src/bin/miniview.c
index 551ae70..a526c17 100644
--- a/src/bin/miniview.c
+++ b/src/bin/miniview.c
@@ -183,8 +183,10 @@ _queue_render(Miniview *mv)
}
static void
-_smart_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_wheel(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Wheel *ev = event;
Miniview *mv = evas_object_smart_data_get(data);
@@ -307,8 +309,10 @@ miniview_handle_key(Evas_Object *obj, const Evas_Event_Key_Down *ev)
}
static void
-_smart_cb_mouse_down(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Miniview *mv= evas_object_smart_data_get(data);
@@ -333,9 +337,10 @@ _smart_cb_mouse_down(void *data, Evas *e EINA_UNUSED,
}
static void
-_on_screen_stoped(void *data, Evas_Object *o EINA_UNUSED,
- const char *emission EINA_UNUSED,
- const char *source EINA_UNUSED)
+_on_screen_stoped(void *data,
+ Evas_Object *_o EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Miniview *mv= evas_object_smart_data_get(data);
@@ -346,8 +351,10 @@ _on_screen_stoped(void *data, Evas_Object *o EINA_UNUSED,
}
static void
-_on_screen_moved(void *data, Evas_Object *o, const char *emission EINA_UNUSED,
- const char *source EINA_UNUSED)
+_on_screen_moved(void *data,
+ Evas_Object *o,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Miniview *mv = evas_object_smart_data_get(data);
double val = 0.0, pos = 0.0, bottom_bound = 0.0;
@@ -427,8 +434,9 @@ _do_configure(Evas_Object *obj)
}
static void
-_smart_move(Evas_Object *obj, Evas_Coord x EINA_UNUSED,
- Evas_Coord y EINA_UNUSED)
+_smart_move(Evas_Object *obj,
+ Evas_Coord _x EINA_UNUSED,
+ Evas_Coord _y EINA_UNUSED)
{
Miniview *mv = evas_object_smart_data_get(obj);
@@ -635,8 +643,10 @@ _smart_init(void)
}
static void
-_cb_miniview_close(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_miniview_close(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
Miniview *mv = data;
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)
{
diff --git a/src/bin/options_behavior.c b/src/bin/options_behavior.c
index bcff701..a44d3a0 100644
--- a/src/bin/options_behavior.c
+++ b/src/bin/options_behavior.c
@@ -12,7 +12,7 @@ static Evas_Object *op_w, *op_h;
#define CB(_cfg_name, _inv) \
static void \
_cb_op_behavior_##_cfg_name(void *data, Evas_Object *obj, \
- void *event EINA_UNUSED) \
+ void *_event EINA_UNUSED) \
{ \
Evas_Object *term = data; \
Config *config = termio_config_get(term); \
@@ -69,7 +69,9 @@ sback_units_format(double d)
}
static void
-_cb_op_behavior_sback_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_behavior_sback_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -80,8 +82,9 @@ _cb_op_behavior_sback_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_behavior_tab_zoom_slider_chg(void *data, Evas_Object *obj,
- void *event EINA_UNUSED)
+_cb_op_behavior_tab_zoom_slider_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -92,7 +95,9 @@ _cb_op_behavior_tab_zoom_slider_chg(void *data, Evas_Object *obj,
}
static void
-_cb_op_behavior_custom_geometry(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_behavior_custom_geometry(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -110,7 +115,9 @@ _cb_op_behavior_custom_geometry(void *data, Evas_Object *obj, void *event EINA_U
}
static void
-_cb_op_behavior_cg_width(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_behavior_cg_width(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -123,7 +130,9 @@ _cb_op_behavior_cg_width(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_behavior_cg_height(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_behavior_cg_height(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
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 };
static Evas_Object *label = NULL, *reset = NULL;
static void
-_cb_op_use_custom_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_use_custom_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
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
}
static void
-_cb_op_color_item_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_op_color_item_sel(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Elm_Object_Item *it = event;
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
}
static void
-_cb_op_color_chg(void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_color_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
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
}
static void
-_cb_op_reset(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op_reset(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
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
}
static void
-_cb_op_scroller_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op_scroller_resize(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
// make color palettes wrap back. :) works with elm git.
int i;
diff --git a/src/bin/options_elm.c b/src/bin/options_elm.c
index 60bba40..01dd554 100644
--- a/src/bin/options_elm.c
+++ b/src/bin/options_elm.c
@@ -5,9 +5,9 @@
#include "options_elm.h"
static void
-launch_elm_config(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+launch_elm_config(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
int pid;
@@ -24,7 +24,7 @@ launch_elm_config(void *data EINA_UNUSED,
}
void
-options_elm(Evas_Object *opbox, Evas_Object *term EINA_UNUSED)
+options_elm(Evas_Object *opbox, Evas_Object *_term EINA_UNUSED)
{
Evas_Object *o, *fr, *bx, *bt, *en;
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);
diff --git a/src/bin/options_helpers.c b/src/bin/options_helpers.c
index 31f3508..00c29a7 100644
--- a/src/bin/options_helpers.c
+++ b/src/bin/options_helpers.c
@@ -8,7 +8,9 @@
#include "main.h"
static void
-_cb_op_helper_inline_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_inline_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -17,7 +19,9 @@ _cb_op_helper_inline_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_helper_email_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_email_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -38,7 +42,9 @@ _cb_op_helper_email_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_helper_url_image_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_url_image_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -59,7 +65,9 @@ _cb_op_helper_url_image_chg(void *data, Evas_Object *obj, void *event EINA_UNUSE
}
static void
-_cb_op_helper_url_video_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_url_video_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -80,7 +88,9 @@ _cb_op_helper_url_video_chg(void *data, Evas_Object *obj, void *event EINA_UNUSE
}
static void
-_cb_op_helper_url_general_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_url_general_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -101,7 +111,9 @@ _cb_op_helper_url_general_chg(void *data, Evas_Object *obj, void *event EINA_UNU
}
static void
-_cb_op_helper_local_image_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_local_image_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -122,7 +134,9 @@ _cb_op_helper_local_image_chg(void *data, Evas_Object *obj, void *event EINA_UNU
}
static void
-_cb_op_helper_local_video_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_local_video_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -143,7 +157,9 @@ _cb_op_helper_local_video_chg(void *data, Evas_Object *obj, void *event EINA_UNU
}
static void
-_cb_op_helper_local_general_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_helper_local_general_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
diff --git a/src/bin/options_keys.c b/src/bin/options_keys.c
index 9dd5b6a..95997d1 100644
--- a/src/bin/options_keys.c
+++ b/src/bin/options_keys.c
@@ -16,8 +16,9 @@ static Evas_Object *_layout;
static void _hover_del(Evas_Object *o);
static void
-_shortcut_delete(void *data, Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_shortcut_delete(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Evas_Object *hs, *bx;
Config_Keys *cfg_key;
@@ -72,7 +73,8 @@ _shortcut_button_add(Evas_Object *bx, const Config_Keys *key)
}
static void
-_cb_key_up(void *data, Evas *e EINA_UNUSED,
+_cb_key_up(void *data,
+ Evas *_e EINA_UNUSED,
Evas_Object *obj, void *event)
{
Evas_Event_Key_Up *ev = event;
@@ -142,8 +144,10 @@ _cb_key_up(void *data, Evas *e EINA_UNUSED,
}
static void
-_cb_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED,
- Evas_Object *obj, void *event EINA_UNUSED)
+_cb_mouse_down(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
_hover_del(obj);
}
@@ -163,35 +167,36 @@ _hover_sizing_eval(void)
}
static void
-_parent_move_cb(void *data EINA_UNUSED,
- Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_parent_move_cb(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
_hover_sizing_eval();
}
+
static void
-_parent_resize_cb(void *data EINA_UNUSED,
- Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_parent_resize_cb(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
_hover_sizing_eval();
}
static void
_parent_hide_cb(void *data,
- Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
_hover_del(data);
}
static void
_parent_del_cb(void *data,
- Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
_hover_del(data);
}
@@ -216,16 +221,16 @@ _hover_del(Evas_Object *o)
}
static void
-_cb_focused(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_focused(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
DBG("focused");
}
static void
-_cb_unfocused(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_unfocused(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
DBG("unfocused");
if (_layout)
@@ -235,7 +240,7 @@ _cb_unfocused(void *data EINA_UNUSED,
static void
on_shortcut_add(void *data,
Evas_Object *bt,
- void *event_info EINA_UNUSED)
+ void *_event_info EINA_UNUSED)
{
Evas_Object *o, *oe;
Evas_Object *bx = data;
@@ -270,7 +275,7 @@ on_shortcut_add(void *data,
}
static Evas_Object *
-gl_content_get(void *data, Evas_Object *obj, const char *part EINA_UNUSED)
+gl_content_get(void *data, Evas_Object *obj, const char *_part EINA_UNUSED)
{
Evas_Coord min_w = 0, w = 0, min_h = 0, h = 0;
const Shortcut_Action *action = data;
@@ -332,16 +337,18 @@ gl_content_get(void *data, Evas_Object *obj, const char *part EINA_UNUSED)
-char *gl_group_text_get(void *data, Evas_Object *obj EINA_UNUSED,
- const char *part EINA_UNUSED)
+char *gl_group_text_get(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_part EINA_UNUSED)
{
Shortcut_Action *action = data;
return strdup(action->description);
}
static void
-_cb_reset_keys(void *data, Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_reset_keys(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Evas_Object *gl = data;
diff --git a/src/bin/options_theme.c b/src/bin/options_theme.c
index 4a45e0d..19ab60d 100644
--- a/src/bin/options_theme.c
+++ b/src/bin/options_theme.c
@@ -23,7 +23,9 @@ static Eina_List *themes = NULL;
static Ecore_Timer *seltimer = NULL;
static char *
-_cb_op_theme_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
+_cb_op_theme_text_get(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_part EINA_UNUSED)
{
Theme *t = data;
char buf[4096], *p;
@@ -59,7 +61,9 @@ _cb_op_theme_content_get(void *data, Evas_Object *obj, const char *part)
}
static void
-_cb_op_theme_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_op_theme_sel(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Theme *t = data;
Config *config = termio_config_get(t->term);
diff --git a/src/bin/options_themepv.c b/src/bin/options_themepv.c
index d1c40d1..69d66a4 100644
--- a/src/bin/options_themepv.c
+++ b/src/bin/options_themepv.c
@@ -73,7 +73,10 @@ _row_set(Evas_Object *o, int y, const char *txt)
}
static void
-_cb_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED)
+_cb_resize(void *_data EINA_UNUSED,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Evas_Object *grid = obj;
Evas_Object *textgrid = evas_object_data_get(grid, "textgrid");
diff --git a/src/bin/options_video.c b/src/bin/options_video.c
index caf7e95..a269d68 100644
--- a/src/bin/options_video.c
+++ b/src/bin/options_video.c
@@ -10,7 +10,9 @@
static Evas_Object *op_trans, *op_opacity, *op_vidmod;
static void
-_cb_op_video_trans_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_video_trans_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -21,7 +23,9 @@ _cb_op_video_trans_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_video_opacity_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_video_opacity_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -32,7 +36,9 @@ _cb_op_video_opacity_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_video_mute_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_video_mute_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -42,7 +48,9 @@ _cb_op_video_mute_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_op_video_visualize_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_video_visualize_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
@@ -52,7 +60,9 @@ _cb_op_video_visualize_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED
}
static void
-_cb_op_video_vidmod_chg(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_op_video_vidmod_chg(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Config *config = termio_config_get(term);
diff --git a/src/bin/options_wallpaper.c b/src/bin/options_wallpaper.c
index 9dbb306..994aa9e 100644
--- a/src/bin/options_wallpaper.c
+++ b/src/bin/options_wallpaper.c
@@ -41,7 +41,9 @@ static Ecore_Timer *_bubble_disappear;
static Ecore_Thread *_thread;
static void
-_cb_fileselector(void *data EINA_UNUSED, Evas_Object *obj, void* event)
+_cb_fileselector(void *_data EINA_UNUSED,
+ Evas_Object *obj,
+ void *event)
{
if (event)
@@ -56,7 +58,7 @@ _cb_fileselector(void *data EINA_UNUSED, Evas_Object *obj, void* event)
}
static Eina_Bool
-_cb_timer_bubble_disappear(void *data EINA_UNUSED)
+_cb_timer_bubble_disappear(void *_data EINA_UNUSED)
{
evas_object_del(_bubble);
_bubble_disappear = NULL;
@@ -91,7 +93,9 @@ _bubble_show(char *text)
}
static char *
-_grid_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
+_grid_text_get(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_part EINA_UNUSED)
{
Background_Item *item = data;
const char *s;
@@ -145,7 +149,9 @@ _grid_content_get(void *data, Evas_Object *obj, const char *part)
}
static void
-_item_selected(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_item_selected(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Background_Item *item = data;
Config *config = termio_config_get(_term);
@@ -307,16 +313,18 @@ _gengrid_refresh_samples(const char *path)
}
static void
-_cb_entry_changed(void *data EINA_UNUSED, Evas_Object *parent,
- void *event EINA_UNUSED)
+_cb_entry_changed(void *_data EINA_UNUSED,
+ Evas_Object *parent,
+ void *_event EINA_UNUSED)
{
const char *path = elm_object_text_get(parent);
_gengrid_refresh_samples(path);
}
static void
-_cb_hoversel_select(void *data, Evas_Object *hoversel EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_hoversel_select(void *data,
+ Evas_Object *_hoversel EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Evas_Object *o;
char *path = data;
@@ -378,8 +386,9 @@ _import_background(const char* background)
}
static void
-_cb_grid_doubleclick(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_grid_doubleclick(void *_data EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Config *config = termio_config_get(_term);
char *config_background_dir = ecore_file_dir_get(config->background);
diff --git a/src/bin/sel.c b/src/bin/sel.c
index be48186..2fc1b23 100644
--- a/src/bin/sel.c
+++ b/src/bin/sel.c
@@ -56,7 +56,10 @@ static void _smart_calculate(Evas_Object *obj);
static void _transit(Evas_Object *obj, double tim);
static void
-_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_mouse_down_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Sel *sd = evas_object_smart_data_get(data);
@@ -71,7 +74,10 @@ _mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
}
static void
-_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_mouse_up_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Up *ev = event;
Sel *sd = evas_object_smart_data_get(data);
@@ -115,7 +121,10 @@ _mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
}
static void
-_mouse_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_mouse_move_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Move *ev = event;
Sel *sd = evas_object_smart_data_get(data);
@@ -174,7 +183,10 @@ _autozoom(Evas_Object *obj)
}
void
-_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event)
+_key_down_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *event)
{
Evas_Event_Key_Down *ev = event;
Sel *sd = evas_object_smart_data_get(data);
@@ -514,7 +526,10 @@ sel_entry_update(void *data)
}
static void
-_entry_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
+_entry_del_cb(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED)
{
Entry *en = data;
if (en->obj) evas_object_event_callback_del_full
@@ -602,7 +617,9 @@ _smart_calculate(Evas_Object *obj)
}
static void
-_smart_move(Evas_Object *obj, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
+_smart_move(Evas_Object *obj,
+ Evas_Coord _x EINA_UNUSED,
+ Evas_Coord _y EINA_UNUSED)
{
Sel *sd = evas_object_smart_data_get(obj);
if (!sd) return;
diff --git a/src/bin/termcmd.c b/src/bin/termcmd.c
index cbe0073..3b2e733 100644
--- a/src/bin/termcmd.c
+++ b/src/bin/termcmd.c
@@ -11,7 +11,10 @@
#include "termcmd.h"
static Eina_Bool
-_termcmd_search(Evas_Object *obj EINA_UNUSED, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_search(Evas_Object *_obj EINA_UNUSED,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
if (cmd[0] == 0) // clear search
{
@@ -23,8 +26,10 @@ _termcmd_search(Evas_Object *obj EINA_UNUSED, Evas_Object *win EINA_UNUSED, Evas
}
static Eina_Bool
-_termcmd_font_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED,
- Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_font_size(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
Config *config = termio_config_get(obj);
@@ -74,7 +79,10 @@ _termcmd_font_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED,
}
static Eina_Bool
-_termcmd_grid_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_grid_size(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
int w = -1, h = -1;
int r = sscanf(cmd, "%ix%i", &w, &h);
@@ -101,7 +109,10 @@ _termcmd_grid_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *
}
static Eina_Bool
-_termcmd_background(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_background(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
Config *config = termio_config_get(obj);
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 9ec1444..020c0f9 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -259,7 +259,10 @@ termio_content_change(Evas_Object *obj, Evas_Coord x, Evas_Coord y,
static void
-_win_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+_win_obj_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
@@ -858,8 +861,10 @@ _activate_link(Evas_Object *obj, Eina_Bool may_inline)
}
static void
-_cb_ctxp_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_ctxp_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Termio *sd = data;
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -867,8 +872,9 @@ _cb_ctxp_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
}
static void
-_cb_ctxp_dismissed(void *data EINA_UNUSED, Evas_Object *obj,
- void *event EINA_UNUSED)
+_cb_ctxp_dismissed(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Termio *sd = data;
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -877,7 +883,9 @@ _cb_ctxp_dismissed(void *data EINA_UNUSED, Evas_Object *obj,
}
static void
-_cb_ctxp_link_preview(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_ctxp_link_preview(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Termio *sd = evas_object_smart_data_get(term);
@@ -890,7 +898,9 @@ _cb_ctxp_link_preview(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_ctxp_link_open(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_ctxp_link_open(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Termio *sd = evas_object_smart_data_get(term);
@@ -902,7 +912,9 @@ _cb_ctxp_link_open(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_ctxp_link_copy(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_ctxp_link_copy(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Termio *sd = evas_object_smart_data_get(term);
@@ -915,7 +927,10 @@ _cb_ctxp_link_copy(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_link_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_link_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -980,7 +995,10 @@ _cb_link_up_delay(void *data)
}
static void
-_cb_link_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_link_up(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Up *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -1025,7 +1043,9 @@ _cb_link_drag_move(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y, Elm
}
static void
-_cb_link_drag_accept(void *data, Evas_Object *obj EINA_UNUSED, Eina_Bool doaccept)
+_cb_link_drag_accept(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ Eina_Bool doaccept)
{
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -1034,7 +1054,7 @@ _cb_link_drag_accept(void *data, Evas_Object *obj EINA_UNUSED, Eina_Bool doaccep
}
static void
-_cb_link_drag_done(void *data, Evas_Object *obj EINA_UNUSED)
+_cb_link_drag_done(void *data, Evas_Object *_obj EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -1062,7 +1082,8 @@ _cb_link_icon_new(void *data, Evas_Object *par, Evas_Coord *xoff, Evas_Coord *yo
#endif
static void
-_cb_link_move(void *data, Evas *e EINA_UNUSED,
+_cb_link_move(void *data,
+ Evas *_e EINA_UNUSED,
Evas_Object *obj
#if ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR < 8))
EINA_UNUSED
@@ -1225,7 +1246,7 @@ _remove_links(Termio *sd, Evas_Object *obj)
/* {{{ Blocks */
static void
-_smart_media_clicked(void *data, Evas_Object *obj, void *info EINA_UNUSED)
+_smart_media_clicked(void *data, Evas_Object *obj, void *_info EINA_UNUSED)
{
// Termio *sd = evas_object_smart_data_get(data);
Termblock *blk;
@@ -1273,7 +1294,10 @@ _smart_media_clicked(void *data, Evas_Object *obj, void *info EINA_UNUSED)
}
static void
-_smart_media_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED)
+_smart_media_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Termblock *blk = data;
@@ -1281,7 +1305,9 @@ _smart_media_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *info E
}
static void
-_smart_media_play(void *data, Evas_Object *obj, void *info EINA_UNUSED)
+_smart_media_play(void *data,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Termblock *blk = data;
@@ -1291,7 +1317,9 @@ _smart_media_play(void *data, Evas_Object *obj, void *info EINA_UNUSED)
}
static void
-_smart_media_pause(void *data, Evas_Object *obj, void *info EINA_UNUSED)
+_smart_media_pause(void *data,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Termblock *blk = data;
@@ -1301,7 +1329,9 @@ _smart_media_pause(void *data, Evas_Object *obj, void *info EINA_UNUSED)
}
static void
-_smart_media_stop(void *data, Evas_Object *obj, void *info EINA_UNUSED)
+_smart_media_stop(void *data,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Termblock *blk = data;
@@ -1311,7 +1341,10 @@ _smart_media_stop(void *data, Evas_Object *obj, void *info EINA_UNUSED)
}
static void
-_block_edje_signal_cb(void *data, Evas_Object *obj EINA_UNUSED, const char *sig, const char *src)
+_block_edje_signal_cb(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *sig,
+ const char *src)
{
Termblock *blk = data;
Termio *sd = evas_object_smart_data_get(blk->pty->obj);
@@ -1354,7 +1387,9 @@ _block_edje_signal_cb(void *data, Evas_Object *obj EINA_UNUSED, const char *sig,
}
static void
-_block_edje_message_cb(void *data, Evas_Object *obj EINA_UNUSED, Edje_Message_Type type, int id, void *msg)
+_block_edje_message_cb(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ Edje_Message_Type type, int id, void *msg)
{
Termblock *blk = data;
Termio *sd = evas_object_smart_data_get(blk->pty->obj);
@@ -1891,7 +1926,10 @@ _block_obj_del(Termblock *blk)
/* {{{ Keys */
static void
-_smart_cb_key_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_key_up(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Key_Up *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -1902,8 +1940,10 @@ _smart_cb_key_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
}
static void
-_smart_cb_key_down(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_key_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
const Evas_Event_Key_Down *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -2365,7 +2405,9 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
}
static Eina_Bool
-_getsel_cb(void *data, Evas_Object *obj EINA_UNUSED, Elm_Selection_Data *ev)
+_getsel_cb(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ Elm_Selection_Data *ev)
{
Termio *sd = evas_object_smart_data_get(data);
@@ -3453,8 +3495,10 @@ _imf_cursor_set(Termio *sd)
}
static void
-_smart_cb_focus_in(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_smart_cb_focus_in(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -3475,8 +3519,10 @@ _smart_cb_focus_in(void *data, Evas *e EINA_UNUSED,
}
static void
-_smart_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
- void *event EINA_UNUSED)
+_smart_cb_focus_out(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -3868,8 +3914,10 @@ _smart_cb_mouse_move_job(void *data)
}
static void
-_edje_cb_bottom_right_in(void *data, Evas_Object *obj EINA_UNUSED,
- const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_edje_cb_bottom_right_in(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Termio *sd = data;
@@ -3877,8 +3925,10 @@ _edje_cb_bottom_right_in(void *data, Evas_Object *obj EINA_UNUSED,
}
static void
-_edje_cb_top_left_in(void *data, Evas_Object *obj EINA_UNUSED,
- const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_edje_cb_top_left_in(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Termio *sd = data;
@@ -3886,8 +3936,10 @@ _edje_cb_top_left_in(void *data, Evas_Object *obj EINA_UNUSED,
}
static void
-_edje_cb_bottom_right_out(void *data, Evas_Object *obj EINA_UNUSED,
- const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_edje_cb_bottom_right_out(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Termio *sd = data;
@@ -3895,8 +3947,10 @@ _edje_cb_bottom_right_out(void *data, Evas_Object *obj EINA_UNUSED,
}
static void
-_edje_cb_top_left_out(void *data, Evas_Object *obj EINA_UNUSED,
- const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+_edje_cb_top_left_out(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
Termio *sd = data;
@@ -4002,7 +4056,9 @@ _handle_mouse_down_single_click(Termio *sd,
}
static void
-_cb_ctxp_sel_copy(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_ctxp_sel_copy(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Termio *sd = evas_object_smart_data_get(term);
@@ -4016,7 +4072,9 @@ _cb_ctxp_sel_copy(void *data, Evas_Object *obj, void *event EINA_UNUSED)
}
static void
-_cb_ctxp_sel_open_as_url(void *data, Evas_Object *obj, void *event EINA_UNUSED)
+_cb_ctxp_sel_open_as_url(void *data,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Evas_Object *term = data;
Termio *sd = evas_object_smart_data_get(term);
@@ -4099,7 +4157,10 @@ _handle_right_click(Evas_Object *obj, Evas_Event_Mouse_Down *ev, Termio *sd,
}
static void
-_smart_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -4175,7 +4236,10 @@ _smart_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUS
}
static void
-_smart_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_up(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Up *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -4292,7 +4356,10 @@ _mouse_selection_scroll(void *data)
}
static void
-_smart_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_move(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Move *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -4393,8 +4460,10 @@ _smart_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUS
}
static void
-_smart_cb_mouse_in(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_in(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
int cx = 0, cy = 0;
Evas_Event_Mouse_In *ev = event;
@@ -4408,7 +4477,9 @@ _smart_cb_mouse_in(void *data, Evas *e EINA_UNUSED,
}
static void
-_smart_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
+_smart_cb_mouse_out(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
void *event)
{
Termio *sd = evas_object_smart_data_get(data);
@@ -4443,7 +4514,10 @@ _smart_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
}
static void
-_smart_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_smart_cb_mouse_wheel(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Wheel *ev = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -4559,7 +4633,7 @@ _smart_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
/* {{{ Gestures */
static Evas_Event_Flags
-_smart_cb_gest_long_move(void *data, void *event EINA_UNUSED)
+_smart_cb_gest_long_move(void *data, void *_event EINA_UNUSED)
{
// Elm_Gesture_Taps_Info *p = event;
Termio *sd = evas_object_smart_data_get(data);
@@ -4631,7 +4705,7 @@ _smart_cb_gest_zoom_end(void *data, void *event)
}
static Evas_Event_Flags
-_smart_cb_gest_zoom_abort(void *data, void *event EINA_UNUSED)
+_smart_cb_gest_zoom_abort(void *data, void *_event EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
Config *config;
@@ -5091,7 +5165,10 @@ _smart_update_queue(Evas_Object *obj, Termio *sd)
}
static void
-_cursor_cb_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cursor_cb_move(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
@@ -5099,7 +5176,9 @@ _cursor_cb_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
}
static void
-_imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, void *event)
+_imf_event_commit_cb(void *data,
+ Ecore_IMF_Context *_ctx EINA_UNUSED,
+ void *event)
{
Termio *sd = data;
char *str = event;
@@ -5115,7 +5194,9 @@ _imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, void *event
}
static void
-_imf_event_delete_surrounding_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, void *event)
+_imf_event_delete_surrounding_cb(void *data,
+ Ecore_IMF_Context *_ctx EINA_UNUSED,
+ void *event)
{
Termio *sd = data;
Ecore_IMF_Event_Delete_Surrounding *ev = event;
@@ -5123,7 +5204,9 @@ _imf_event_delete_surrounding_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED,
}
static void
-_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx, void *event EINA_UNUSED)
+_imf_event_preedit_changed_cb(void *data,
+ Ecore_IMF_Context *ctx,
+ void *_event EINA_UNUSED)
{
Termio *sd = data;
char *preedit_string;
@@ -5401,7 +5484,9 @@ _smart_calculate(Evas_Object *obj)
}
static void
-_smart_move(Evas_Object *obj, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
+_smart_move(Evas_Object *obj,
+ Evas_Coord _x EINA_UNUSED,
+ Evas_Coord _y EINA_UNUSED)
{
Termio *sd = evas_object_smart_data_get(obj);
@@ -5837,25 +5922,29 @@ _smart_pty_command(void *data)
#if !((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR < 8))
static void
-_smart_cb_drag_enter(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED)
+_smart_cb_drag_enter(void *_data EINA_UNUSED, Evas_Object *_o EINA_UNUSED)
{
DBG("dnd enter");
}
static void
-_smart_cb_drag_leave(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED)
+_smart_cb_drag_leave(void *_data EINA_UNUSED, Evas_Object *_o EINA_UNUSED)
{
DBG("dnd leave");
}
static void
-_smart_cb_drag_pos(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, Evas_Coord x, Evas_Coord y, Elm_Xdnd_Action action)
+_smart_cb_drag_pos(void *_data EINA_UNUSED,
+ Evas_Object *_o EINA_UNUSED,
+ Evas_Coord x, Evas_Coord y, Elm_Xdnd_Action action)
{
DBG("dnd at %i %i act:%i", x, y, action);
}
static Eina_Bool
-_smart_cb_drop(void *data, Evas_Object *o EINA_UNUSED, Elm_Selection_Data *ev)
+_smart_cb_drop(void *data,
+ Evas_Object *_o EINA_UNUSED,
+ Elm_Selection_Data *ev)
{
Evas_Object *obj = data;
Termio *sd = evas_object_smart_data_get(obj);
diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c
index 8baafa1..9cd37d2 100644
--- a/src/bin/termiolink.c
+++ b/src/bin/termiolink.c
@@ -4,7 +4,7 @@
#include "utils.h"
static Eina_Bool
-coord_back(int *x, int *y, int w, int h EINA_UNUSED)
+coord_back(int *x, int *y, int w, int _h EINA_UNUSED)
{
(*x)--;
if ((*x) < 0)
@@ -50,7 +50,8 @@ _cwd_path_get(const Evas_Object *obj, const char *relpath)
}
static char *
-_home_path_get(const Evas_Object *obj EINA_UNUSED, const char *relpath)
+_home_path_get(const Evas_Object *_obj EINA_UNUSED,
+ const char *relpath)
{
char tmppath[PATH_MAX], homepath[PATH_MAX];
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index d9373ae..c5e81e4 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -157,7 +157,9 @@ _pty_size(Termpty *ty)
}
static Eina_Bool
-_cb_exe_exit(void *data, int type EINA_UNUSED, void *event)
+_cb_exe_exit(void *data,
+ int _type EINA_UNUSED,
+ void *event)
{
Ecore_Exe_Event_Del *ev = event;
Termpty *ty = data;
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 1b6fc75..daabe1c 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1230,12 +1230,12 @@ _handle_xterm_50_command(Termpty *ty,
}
static void
-_handle_xterm_777_command(Termpty *ty EINA_UNUSED,
+_handle_xterm_777_command(Termpty *_ty EINA_UNUSED,
char *s
#if ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR < 8))
EINA_UNUSED
#endif
- , int len EINA_UNUSED)
+ , int _len EINA_UNUSED)
{
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
char *cmd_end = NULL,
@@ -1518,7 +1518,9 @@ _handle_esc_terminology(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *
}
static int
-_handle_esc_dcs(Termpty *ty EINA_UNUSED, const Eina_Unicode *c, const Eina_Unicode *ce)
+_handle_esc_dcs(Termpty *ty,
+ const Eina_Unicode *c,
+ const Eina_Unicode *ce)
{
const Eina_Unicode *cc, *be;
Eina_Unicode buf[4096], *b;
diff --git a/src/bin/termptyext.c b/src/bin/termptyext.c
index 82f8b7b..2af1414 100644
--- a/src/bin/termptyext.c
+++ b/src/bin/termptyext.c
@@ -32,7 +32,9 @@
// and 'BLAHBLAH' is an optional data payload string
static Eina_Bool
-_handle_op_a(Termpty *ty EINA_UNUSED, const char *txt, Eina_Unicode *utxt EINA_UNUSED)
+_handle_op_a(Termpty *_ty EINA_UNUSED,
+ const char *txt,
+ Eina_Unicode *_utxt EINA_UNUSED)
{
switch (txt[1])
{
diff --git a/src/bin/utils.c b/src/bin/utils.c
index e66299d..1bff81d 100644
--- a/src/bin/utils.c
+++ b/src/bin/utils.c
@@ -78,7 +78,10 @@ theme_reload(Evas_Object *edje)
}
static void
-theme_reload_cb(void *data EINA_UNUSED, Evas_Object *obj, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
+theme_reload_cb(void *_data EINA_UNUSED,
+ Evas_Object *obj,
+ const char *_emission EINA_UNUSED,
+ const char *_source EINA_UNUSED)
{
void (*func) (void *d);
void *func_data;
diff --git a/src/bin/win.c b/src/bin/win.c
index e46e698..82f9691 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -176,8 +176,8 @@ static void _term_free(Term *term);
static void _term_media_update(Term *term, const Config *config);
static void _term_miniview_check(Term *term);
static void _popmedia_queue_process(Term *term);
-static void _cb_size_hint(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED);
-static void _tab_new_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
+static void _cb_size_hint(void *data, Evas *_e EINA_UNUSED, Evas_Object *obj, void *_event EINA_UNUSED);
+static void _tab_new_cb(void *data, Evas_Object *_obj EINA_UNUSED, void *_event_info EINA_UNUSED);
static Tab_Item* tab_item_new(Tabs *tabs, Term_Container *child);
static void _tabs_refresh(Tabs *tabs);
static void _term_tabregion_free(Term *term);
@@ -207,8 +207,8 @@ _solo_focused_term_get(Term_Container *container)
static Term *
_solo_find_term_at_coords(Term_Container *tc,
- Evas_Coord mx EINA_UNUSED,
- Evas_Coord my EINA_UNUSED)
+ Evas_Coord _mx EINA_UNUSED,
+ Evas_Coord _my EINA_UNUSED)
{
Solo *solo;
assert (tc->type == TERM_CONTAINER_TYPE_SOLO);
@@ -245,7 +245,8 @@ _solo_size_eval(Term_Container *container, Sizeinfo *info)
}
static void
-_solo_close(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_solo_close(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
Solo *solo;
Term *term;
@@ -272,21 +273,25 @@ _solo_tabs_new(Term_Container *tc)
}
static void
-_solo_split(Term_Container *tc, Term_Container *child EINA_UNUSED,
+_solo_split(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED,
Term *from,
- const char *cmd, Eina_Bool is_horizontal)
+ const char *cmd,
+ Eina_Bool is_horizontal)
{
tc->parent->split(tc->parent, tc, from, cmd, is_horizontal);
}
static Term *
-_solo_term_next(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_solo_term_next(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
return tc->parent->term_next(tc->parent, tc);
}
static Term *
-_solo_term_prev(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_solo_term_prev(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
return tc->parent->term_prev(tc->parent, tc);
}
@@ -310,7 +315,8 @@ _solo_term_last(Term_Container *tc)
}
static void
-_solo_set_title(Term_Container *tc, Term_Container *child EINA_UNUSED,
+_solo_set_title(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED,
const char *title)
{
eina_stringshare_del(tc->title);
@@ -319,7 +325,8 @@ _solo_set_title(Term_Container *tc, Term_Container *child EINA_UNUSED,
}
static void
-_solo_bell(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_solo_bell(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
Solo *solo;
Term *term;
@@ -463,7 +470,8 @@ _solo_new(Term *term, Win *wn)
static void
_cb_win_focus_in(void *data,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
Term_Container *tc = (Term_Container*) wn;
@@ -506,8 +514,9 @@ _cb_win_focus_in(void *data,
}
static void
-_cb_win_focus_out(void *data, Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_win_focus_out(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
Term_Container *tc = (Term_Container*) wn;
@@ -640,8 +649,10 @@ main_trans_update(const Config *config)
static void
-_cb_del(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
@@ -745,13 +756,15 @@ _win_get_evas_object(Term_Container *tc)
}
static Term *
-_win_term_next(Term_Container *tc EINA_UNUSED, Term_Container *child)
+_win_term_next(Term_Container *_tc EINA_UNUSED,
+ Term_Container *child)
{
return child->term_first(child);
}
static Term *
-_win_term_prev(Term_Container *tc EINA_UNUSED, Term_Container *child)
+_win_term_prev(Term_Container *_tc EINA_UNUSED,
+ Term_Container *child)
{
return child->term_last(child);
}
@@ -840,7 +853,8 @@ _win_swallow(Term_Container *tc, Term_Container *orig,
}
static void
-_win_close(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_win_close(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
Win *wn;
assert (tc->type == TERM_CONTAINER_TYPE_WIN);
@@ -887,7 +901,8 @@ _win_unfocus(Term_Container *tc, Term_Container *relative)
}
static void
-_win_bell(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_win_bell(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
Win *wn;
assert (tc->type == TERM_CONTAINER_TYPE_WIN);
@@ -903,7 +918,8 @@ _win_bell(Term_Container *tc, Term_Container *child EINA_UNUSED)
}
static void
-_win_set_title(Term_Container *tc, Term_Container *child EINA_UNUSED,
+_win_set_title(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED,
const char *title)
{
Win *wn;
@@ -1432,7 +1448,8 @@ _split_set_title(Term_Container *tc, Term_Container *child,
}
static void
-_split_bell(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_split_bell(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
assert (tc->type == TERM_CONTAINER_TYPE_SPLIT);
@@ -1587,7 +1604,9 @@ win_sizing_handle(Win *wn)
static void
_cb_size_hint(void *data,
- Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Evas_Coord mw, mh, rw, rh, w = 0, h = 0;
@@ -1610,7 +1629,8 @@ _cb_size_hint(void *data,
}
void
-split_horizontally(Evas_Object *win EINA_UNUSED, Evas_Object *term,
+split_horizontally(Evas_Object *_win EINA_UNUSED,
+ Evas_Object *term,
const char *cmd)
{
Term *tm;
@@ -1624,7 +1644,8 @@ split_horizontally(Evas_Object *win EINA_UNUSED, Evas_Object *term,
}
void
-split_vertically(Evas_Object *win EINA_UNUSED, Evas_Object *term,
+split_vertically(Evas_Object *_win EINA_UNUSED,
+ Evas_Object *term,
const char *cmd)
{
Term *tm;
@@ -1668,8 +1689,10 @@ _tabbar_clear(Term *tm)
}
static void
-_cb_tab_activate(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_tab_activate(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
Tab_Item *tab_item = data;
Solo *solo;
@@ -1682,8 +1705,10 @@ _cb_tab_activate(void *data, Evas_Object *obj EINA_UNUSED,
}
static void
-_cb_tab_close(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_tab_close(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
Term *term = data;
Win *wn = term->wn;
@@ -1811,17 +1836,17 @@ term_tab_go(Term *term, int tnum)
static void
_tabs_selector_cb_selected(void *data,
- Evas_Object *obj EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
void *info);
static void
_tabs_selector_cb_exit(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *info EINA_UNUSED);
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED);
static void
_tabs_selector_cb_ending(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *info EINA_UNUSED);
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED);
static void
_tabs_restore(Tabs *tabs)
@@ -1876,8 +1901,8 @@ _tabs_restore(Tabs *tabs)
static void
_tabs_selector_cb_ending(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *info EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED)
{
Tabs *tabs = data;
edje_object_signal_emit(tabs->selector_bg, "end", "terminology");
@@ -1885,7 +1910,7 @@ _tabs_selector_cb_ending(void *data,
static void
_tabs_selector_cb_selected(void *data,
- Evas_Object *obj EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
void *info)
{
Tabs *tabs = data;
@@ -1907,8 +1932,8 @@ _tabs_selector_cb_selected(void *data,
static void
_tabs_selector_cb_exit(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *info EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED)
{
Tabs *tabs = data;
@@ -2016,7 +2041,9 @@ _cb_tab_selector_show(Tabs *tabs, Tab_Item *to_item)
}
static void
-_cb_select(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_select(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -2369,8 +2396,8 @@ _tabs_swallow(Term_Container *tc, Term_Container *orig,
static void
_tab_new_cb(void *data,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Tabs *tabs = data;
Tab_Item *tab_item;
@@ -2421,7 +2448,9 @@ _tab_new_cb(void *data,
}
static void
-_cb_new(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_new(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -2432,7 +2461,9 @@ _cb_new(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_close(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_close(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -2441,7 +2472,8 @@ _cb_close(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
void
-main_new(Evas_Object *win EINA_UNUSED, Evas_Object *term)
+main_new(Evas_Object *_win EINA_UNUSED,
+ Evas_Object *term)
{
Term *tm;
@@ -2538,7 +2570,8 @@ _tabs_unfocus(Term_Container *tc, Term_Container *relative)
}
static void
-_tabs_bell(Term_Container *tc, Term_Container *child EINA_UNUSED)
+_tabs_bell(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED)
{
Tabs *tabs;
@@ -2713,9 +2746,11 @@ tab_item_new(Tabs *tabs, Term_Container *child)
}
static void
-_tabs_split(Term_Container *tc, Term_Container *child EINA_UNUSED,
+_tabs_split(Term_Container *tc,
+ Term_Container *_child EINA_UNUSED,
Term *from,
- const char *cmd, Eina_Bool is_horizontal)
+ const char *cmd,
+ Eina_Bool is_horizontal)
{
tc->parent->split(tc->parent, tc, from, cmd, is_horizontal);
}
@@ -2803,8 +2838,10 @@ term_popmedia_close(Term *term)
static void
-_cb_term_mouse_in(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_term_mouse_in(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Config *config;
@@ -2822,8 +2859,10 @@ _cb_term_mouse_in(void *data, Evas *e EINA_UNUSED,
}
static void
-_cb_term_mouse_down(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event)
+_cb_term_mouse_down(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Evas_Event_Mouse_Down *ev = event;
Term *term = data;
@@ -2964,8 +3003,10 @@ void term_next(Term *term)
}
static void
-_cb_popmedia_del(void *data, Evas *e EINA_UNUSED,
- Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
+_cb_popmedia_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_o EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Term *term = data;
@@ -2975,8 +3016,10 @@ _cb_popmedia_del(void *data, Evas *e EINA_UNUSED,
}
static void
-_cb_popmedia_done(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_popmedia_done(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
Term *term = data;
@@ -2997,7 +3040,8 @@ _cb_popmedia_done(void *data, Evas_Object *obj EINA_UNUSED,
static void
_cb_media_loop(void *data,
- Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_info EINA_UNUSED)
{
Term *term = data;
@@ -3096,7 +3140,9 @@ _media_http_head_timeout(void *data)
}
static Eina_Bool
-_media_http_head_complete(void *data, int kind EINA_UNUSED, void *event_info)
+_media_http_head_complete(void *data,
+ int _kind EINA_UNUSED,
+ void *event_info)
{
Ecore_Con_Event_Url_Complete *ev = event_info;
Ty_Http_Head *ty_head = data;
@@ -3259,8 +3305,9 @@ term_miniview_toggle(Term *term)
}
static void
-_set_title_ok_cb(void *data, Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_set_title_ok_cb(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Evas_Object *popup = data;
Term *term = evas_object_data_get(popup, "term");
@@ -3276,8 +3323,9 @@ _set_title_ok_cb(void *data, Evas_Object *obj EINA_UNUSED,
}
static void
-_set_title_cancel_cb(void *data, Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_set_title_cancel_cb(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Evas_Object *popup = data;
Term *term = evas_object_data_get(popup, "term");
@@ -3344,7 +3392,9 @@ _popmedia_queue_add(Term *term, const char *src)
}
static void
-_cb_popup(void *data, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_popup(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Term *term = data;
const char *src = event;
@@ -3355,7 +3405,9 @@ _cb_popup(void *data, Evas_Object *obj EINA_UNUSED, void *event)
}
static void
-_cb_popup_queue(void *data, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_popup_queue(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Term *term = data;
const char *src = event;
@@ -3399,7 +3451,9 @@ _set_alpha(Config *config, const char *val, Eina_Bool save)
}
static void
-_cb_command(void *data, Evas_Object *obj EINA_UNUSED, void *event)
+_cb_command(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *event)
{
Term *term = data;
const char *cmd = event;
@@ -3459,14 +3513,18 @@ _cb_command(void *data, Evas_Object *obj EINA_UNUSED, void *event)
}
static void
-_cb_tabcount_go(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_tabcount_go(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
_cb_select(data, NULL, NULL);
}
static void
-_cb_prev(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_prev(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
@@ -3474,7 +3532,9 @@ _cb_prev(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_next(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_next(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
@@ -3482,7 +3542,9 @@ _cb_next(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_split_h(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_split_h(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -3492,7 +3554,9 @@ _cb_split_h(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_split_v(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_split_v(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -3502,7 +3566,9 @@ _cb_split_v(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_title(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_title(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc = term->container;
@@ -3513,7 +3579,9 @@ _cb_title(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
}
static void
-_cb_icon(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_icon(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
DBG("is focused? tc:%p", term->container);
@@ -3554,7 +3622,9 @@ _cb_cmd_del(void *data)
}
static void
-_cb_cmd_activated(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_cmd_activated(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
char *cmd = NULL;
@@ -3588,7 +3658,8 @@ _cb_cmd_activated(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNU
static void
_cb_cmd_aborted(void *data,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
Term *term;
@@ -3611,7 +3682,8 @@ _cb_cmd_aborted(void *data,
static void
_cb_cmd_changed(void *data,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Win *wn = data;
char *cmd = NULL;
@@ -3634,8 +3706,10 @@ _cb_cmd_changed(void *data,
}
static void
-_cb_cmd_hints_changed(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+_cb_cmd_hints_changed(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Win *wn = data;
@@ -3648,7 +3722,8 @@ _cb_cmd_hints_changed(void *data, Evas *e EINA_UNUSED,
static void
_cb_cmdbox(void *data,
- Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
@@ -3693,8 +3768,10 @@ _cb_cmdbox(void *data,
static void
-_cb_media_del(void *data, Evas *e EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+_cb_media_del(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event_info EINA_UNUSED)
{
Term *term = data;
Config *config = NULL;
@@ -3907,15 +3984,19 @@ _term_free(Term *term)
}
static void
-_cb_tabcount_prev(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_tabcount_prev(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
_cb_prev(data, NULL, NULL);
}
static void
-_cb_tabcount_next(void *data, Evas_Object *obj EINA_UNUSED,
- const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
+_cb_tabcount_next(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ const char *_sig EINA_UNUSED,
+ const char *_src EINA_UNUSED)
{
_cb_next(data, NULL, NULL);
}
@@ -4011,8 +4092,10 @@ _term_bg_config(Term *term)
}
static void
-_cb_tabregion_change(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
- void *info EINA_UNUSED)
+_cb_tabregion_change(void *data,
+ Evas *_e EINA_UNUSED,
+ Evas_Object *obj,
+ void *_info EINA_UNUSED)
{
Term *term = data;
Evas_Coord w, h;
@@ -4079,7 +4162,9 @@ term_miniview_get(Term *term)
static void
-_cb_bell(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
+_cb_bell(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;
Term_Container *tc;
@@ -4114,8 +4199,9 @@ _cb_options_done(void *data)
}
static void
-_cb_options(void *data, Evas_Object *obj EINA_UNUSED,
- void *event EINA_UNUSED)
+_cb_options(void *data,
+ Evas_Object *_obj EINA_UNUSED,
+ void *_event EINA_UNUSED)
{
Term *term = data;