summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2014-01-06 23:30:02 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2014-01-06 23:33:57 +0900
commit3f6cff6f98bf41a8df9b6f83bade24af2d75f482 (patch)
tree0e13d094abf59ca8e0305c990ff31af075462423 /src/edje_externals/elm.c
parentf8a004e8bced2cf3142655c103629ec2df33443d (diff)
elm: Changed __UNUSED__ to EINA_UNUSED.
Diffstat (limited to '')
-rw-r--r--src/edje_externals/elm.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index 9a316fbbb..f2016c17d 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -32,7 +32,7 @@ external_elm_shutdown(void)
32} 32}
33 33
34static void 34static void
35_external_obj_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__) 35_external_obj_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
36{ 36{
37 evas_object_event_callback_del(obj, EVAS_CALLBACK_DEL, 37 evas_object_event_callback_del(obj, EVAS_CALLBACK_DEL,
38 _external_obj_del); 38 _external_obj_del);
@@ -40,7 +40,7 @@ _external_obj_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj
40} 40}
41 41
42void 42void
43external_signal(void *data __UNUSED__, Evas_Object *obj, const char *sig, const char *source) 43external_signal(void *data EINA_UNUSED, Evas_Object *obj, const char *sig, const char *source)
44{ 44{
45 char *_signal = strdup(sig); 45 char *_signal = strdup(sig);
46 char *p = _signal; 46 char *p = _signal;
@@ -76,7 +76,7 @@ external_signal(void *data __UNUSED__, Evas_Object *obj, const char *sig, const
76} 76}
77 77
78const char * 78const char *
79external_translate(void *data __UNUSED__, const char *orig) 79external_translate(void *data EINA_UNUSED, const char *orig)
80{ 80{
81 // in future, mark all params as translatable and use dgettext() 81 // in future, mark all params as translatable and use dgettext()
82 // with "elementary" text domain here. 82 // with "elementary" text domain here.
@@ -90,14 +90,14 @@ typedef struct {
90} Elm_External_Signals_Proxy_Context; 90} Elm_External_Signals_Proxy_Context;
91 91
92static void 92static void
93_external_signal_proxy_free_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) 93_external_signal_proxy_free_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
94{ 94{
95 Elm_External_Signals_Proxy_Context *ctxt = data; 95 Elm_External_Signals_Proxy_Context *ctxt = data;
96 free(ctxt); 96 free(ctxt);
97} 97}
98 98
99static void 99static void
100_external_signal_proxy_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) 100_external_signal_proxy_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
101{ 101{
102 Elm_External_Signals_Proxy_Context *ctxt = data; 102 Elm_External_Signals_Proxy_Context *ctxt = data;
103 // TODO: Is it worth to check Evas_Smart_Cb_Description and do something 103 // TODO: Is it worth to check Evas_Smart_Cb_Description and do something
@@ -106,7 +106,7 @@ _external_signal_proxy_cb(void *data, Evas_Object *obj __UNUSED__, void *event_i
106} 106}
107 107
108Eina_Bool 108Eina_Bool
109external_common_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param) 109external_common_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
110{ 110{
111 if (!strcmp(param->name, "style")) 111 if (!strcmp(param->name, "style"))
112 { 112 {
@@ -128,7 +128,7 @@ external_common_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ex
128} 128}
129 129
130Eina_Bool 130Eina_Bool
131external_common_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param) 131external_common_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
132{ 132{
133 if (!strcmp(param->name, "style")) 133 if (!strcmp(param->name, "style"))
134 { 134 {
@@ -190,7 +190,7 @@ external_signals_proxy(Evas_Object *obj, Evas_Object *edje, const char *part_nam
190} 190}
191 191
192void 192void
193external_common_params_parse(void *mem, void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params) 193external_common_params_parse(void *mem, void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
194{ 194{
195 Elm_Params *p; 195 Elm_Params *p;
196 const Eina_List *l; 196 const Eina_List *l;
@@ -210,7 +210,7 @@ external_common_params_parse(void *mem, void *data __UNUSED__, Evas_Object *obj
210} 210}
211 211
212void 212void
213external_common_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__) 213external_common_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
214{ 214{
215 const Elm_Params *p; 215 const Elm_Params *p;
216 if (to_params) p = to_params; 216 if (to_params) p = to_params;