summaryrefslogtreecommitdiff
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-08-27 15:36:50 +0200
committerBoris Faure <billiob@gmail.com>2013-08-27 15:36:50 +0200
commit30392f23a9b824b57adccdc7972420f45995b303 (patch)
treef0a80a0e01c0598bc06946a059eecba0d795dea8 /src/bin/options_font.c
parent2429f7d3ad0164272cfda2534da37fb1938d9752 (diff)
s/__UNUSED__/EINA_UNUSED/g
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index f4df049..fe3ce0a 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -44,7 +44,7 @@ _update_sizing(Evas_Object *term)
44} 44}
45 45
46static void 46static void
47_cb_op_font_sel(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 47_cb_op_font_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
48{ 48{
49 Font *f = data; 49 Font *f = data;
50 Config *config = termio_config_get(f->term); 50 Config *config = termio_config_get(f->term);
@@ -61,7 +61,7 @@ _cb_op_font_sel(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
61} 61}
62 62
63static void 63static void
64_cb_op_fontsize_sel(void *data, Evas_Object *obj, void *event __UNUSED__) 64_cb_op_fontsize_sel(void *data, Evas_Object *obj, void *event EINA_UNUSED)
65{ 65{
66 Evas_Object *term = data; 66 Evas_Object *term = data;
67 Config *config = termio_config_get(term); 67 Config *config = termio_config_get(term);
@@ -81,7 +81,7 @@ _cb_op_font_sort(const void *d1, const void *d2)
81} 81}
82 82
83static void 83static void
84_cb_op_font_preview_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event __UNUSED__) 84_cb_op_font_preview_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
85{ 85{
86 Evas_Object *o; 86 Evas_Object *o;
87 Ecore_Timer *timer = evas_object_data_get(obj, "delay"); 87 Ecore_Timer *timer = evas_object_data_get(obj, "delay");
@@ -143,7 +143,7 @@ done:
143} 143}
144 144
145static void 145static void
146_cb_op_font_preview_eval(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event __UNUSED__) 146_cb_op_font_preview_eval(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
147{ 147{
148 Font *f = data; 148 Font *f = data;
149 Evas_Coord ox, oy, ow, oh, vx, vy, vw, vh; 149 Evas_Coord ox, oy, ow, oh, vx, vy, vw, vh;
@@ -197,7 +197,7 @@ _cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
197} 197}
198 198
199static char * 199static char *
200_cb_op_font_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__) 200_cb_op_font_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
201{ 201{
202 Font *f = data; 202 Font *f = data;
203 char buf[4096], *p; 203 char buf[4096], *p;
@@ -210,13 +210,13 @@ _cb_op_font_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part _
210} 210}
211 211
212static char * 212static char *
213_cb_op_font_group_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__) 213_cb_op_font_group_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
214{ 214{
215 return strdup(data); 215 return strdup(data);
216} 216}
217 217
218static void 218static void
219_cb_term_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 219_cb_term_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
220{ 220{
221 Evas_Object *term = data; 221 Evas_Object *term = data;
222 if (expecting_resize) 222 if (expecting_resize)
@@ -228,7 +228,7 @@ _cb_term_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, voi
228} 228}
229 229
230static void 230static void
231_cb_font_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 231_cb_font_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
232{ 232{
233 Evas_Object *term = data; 233 Evas_Object *term = data;
234 evas_object_event_callback_del_full(term, EVAS_CALLBACK_RESIZE, 234 evas_object_event_callback_del_full(term, EVAS_CALLBACK_RESIZE,