diff options
author | Daniel Juyung Seo <juyung.seo@samsung.com> | 2014-01-06 23:30:02 +0900 |
---|---|---|
committer | Daniel Juyung Seo <juyung.seo@samsung.com> | 2014-01-06 23:33:57 +0900 |
commit | 3f6cff6f98bf41a8df9b6f83bade24af2d75f482 (patch) | |
tree | 0e13d094abf59ca8e0305c990ff31af075462423 /src/modules/prefs | |
parent | f8a004e8bced2cf3142655c103629ec2df33443d (diff) |
elm: Changed __UNUSED__ to EINA_UNUSED.
Diffstat (limited to 'src/modules/prefs')
-rw-r--r-- | src/modules/prefs/elm_button.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_check.c | 6 | ||||
-rw-r--r-- | src/modules/prefs/elm_datetime.c | 6 | ||||
-rw-r--r-- | src/modules/prefs/elm_entry.c | 12 | ||||
-rw-r--r-- | src/modules/prefs/elm_horizontal_box.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_horizontal_frame.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_label.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_separator.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_slider.c | 4 | ||||
-rw-r--r-- | src/modules/prefs/elm_spinner.c | 4 | ||||
-rw-r--r-- | src/modules/prefs/elm_swallow.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_vertical_box.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_vertical_frame.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/prefs_iface.c | 4 |
14 files changed, 38 insertions, 38 deletions
diff --git a/src/modules/prefs/elm_button.c b/src/modules/prefs/elm_button.c index 6e05ab644..53c03f3f9 100644 --- a/src/modules/prefs/elm_button.c +++ b/src/modules/prefs/elm_button.c | |||
@@ -11,7 +11,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
11 | static void | 11 | static void |
12 | _item_changed_cb(void *data, | 12 | _item_changed_cb(void *data, |
13 | Evas_Object *obj, | 13 | Evas_Object *obj, |
14 | void *event_info __UNUSED__) | 14 | void *event_info EINA_UNUSED) |
15 | { | 15 | { |
16 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 16 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
17 | 17 | ||
@@ -19,10 +19,10 @@ _item_changed_cb(void *data, | |||
19 | } | 19 | } |
20 | 20 | ||
21 | static Evas_Object * | 21 | static Evas_Object * |
22 | elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 22 | elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
23 | Evas_Object *prefs, | 23 | Evas_Object *prefs, |
24 | const Elm_Prefs_Item_Type type __UNUSED__, | 24 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
25 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 25 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
26 | Elm_Prefs_Item_Changed_Cb cb) | 26 | Elm_Prefs_Item_Changed_Cb cb) |
27 | { | 27 | { |
28 | Evas_Object *obj = elm_button_add(prefs); | 28 | Evas_Object *obj = elm_button_add(prefs); |
diff --git a/src/modules/prefs/elm_check.c b/src/modules/prefs/elm_check.c index a7f040f31..8940c3bbb 100644 --- a/src/modules/prefs/elm_check.c +++ b/src/modules/prefs/elm_check.c | |||
@@ -9,7 +9,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
9 | static void | 9 | static void |
10 | _item_changed_cb(void *data, | 10 | _item_changed_cb(void *data, |
11 | Evas_Object *obj, | 11 | Evas_Object *obj, |
12 | void *event_info __UNUSED__) | 12 | void *event_info EINA_UNUSED) |
13 | { | 13 | { |
14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
15 | 15 | ||
@@ -17,9 +17,9 @@ _item_changed_cb(void *data, | |||
17 | } | 17 | } |
18 | 18 | ||
19 | static Evas_Object * | 19 | static Evas_Object * |
20 | elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 20 | elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
21 | Evas_Object *prefs, | 21 | Evas_Object *prefs, |
22 | const Elm_Prefs_Item_Type type __UNUSED__, | 22 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
23 | const Elm_Prefs_Item_Spec spec, | 23 | const Elm_Prefs_Item_Spec spec, |
24 | Elm_Prefs_Item_Changed_Cb cb) | 24 | Elm_Prefs_Item_Changed_Cb cb) |
25 | { | 25 | { |
diff --git a/src/modules/prefs/elm_datetime.c b/src/modules/prefs/elm_datetime.c index 75f06091a..10cd219d5 100644 --- a/src/modules/prefs/elm_datetime.c +++ b/src/modules/prefs/elm_datetime.c | |||
@@ -9,7 +9,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
9 | static void | 9 | static void |
10 | _item_changed_cb(void *data, | 10 | _item_changed_cb(void *data, |
11 | Evas_Object *obj, | 11 | Evas_Object *obj, |
12 | void *event_info __UNUSED__) | 12 | void *event_info EINA_UNUSED) |
13 | { | 13 | { |
14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
15 | 15 | ||
@@ -17,9 +17,9 @@ _item_changed_cb(void *data, | |||
17 | } | 17 | } |
18 | 18 | ||
19 | static Evas_Object * | 19 | static Evas_Object * |
20 | elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 20 | elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
21 | Evas_Object *prefs, | 21 | Evas_Object *prefs, |
22 | const Elm_Prefs_Item_Type type __UNUSED__, | 22 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
23 | const Elm_Prefs_Item_Spec spec, | 23 | const Elm_Prefs_Item_Spec spec, |
24 | Elm_Prefs_Item_Changed_Cb cb) | 24 | Elm_Prefs_Item_Changed_Cb cb) |
25 | { | 25 | { |
diff --git a/src/modules/prefs/elm_entry.c b/src/modules/prefs/elm_entry.c index 8138bf826..6bbf9f8ca 100644 --- a/src/modules/prefs/elm_entry.c +++ b/src/modules/prefs/elm_entry.c | |||
@@ -96,7 +96,7 @@ mismatch: | |||
96 | static void | 96 | static void |
97 | _item_changed_cb(void *data, | 97 | _item_changed_cb(void *data, |
98 | Evas_Object *obj, | 98 | Evas_Object *obj, |
99 | void *event_info __UNUSED__) | 99 | void *event_info EINA_UNUSED) |
100 | { | 100 | { |
101 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 101 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
102 | 102 | ||
@@ -104,10 +104,10 @@ _item_changed_cb(void *data, | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static void | 106 | static void |
107 | _entry_del_cb(void *data __UNUSED__, | 107 | _entry_del_cb(void *data EINA_UNUSED, |
108 | Evas *evas __UNUSED__, | 108 | Evas *evas EINA_UNUSED, |
109 | Evas_Object *obj, | 109 | Evas_Object *obj, |
110 | void *event_info __UNUSED__) | 110 | void *event_info EINA_UNUSED) |
111 | { | 111 | { |
112 | regex_t *regex; | 112 | regex_t *regex; |
113 | Ecore_Timer *timer; | 113 | Ecore_Timer *timer; |
@@ -125,7 +125,7 @@ _entry_del_cb(void *data __UNUSED__, | |||
125 | } | 125 | } |
126 | 126 | ||
127 | static Evas_Object * | 127 | static Evas_Object * |
128 | elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 128 | elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
129 | Evas_Object *prefs, | 129 | Evas_Object *prefs, |
130 | const Elm_Prefs_Item_Type type, | 130 | const Elm_Prefs_Item_Type type, |
131 | const Elm_Prefs_Item_Spec spec, | 131 | const Elm_Prefs_Item_Spec spec, |
@@ -263,7 +263,7 @@ elm_prefs_entry_editable_get(Evas_Object *obj) | |||
263 | } | 263 | } |
264 | 264 | ||
265 | static Eina_Bool | 265 | static Eina_Bool |
266 | elm_prefs_entry_expand_want(Evas_Object *obj __UNUSED__) | 266 | elm_prefs_entry_expand_want(Evas_Object *obj EINA_UNUSED) |
267 | { | 267 | { |
268 | return EINA_TRUE; | 268 | return EINA_TRUE; |
269 | } | 269 | } |
diff --git a/src/modules/prefs/elm_horizontal_box.c b/src/modules/prefs/elm_horizontal_box.c index 368490ded..5bf58b4f2 100644 --- a/src/modules/prefs/elm_horizontal_box.c +++ b/src/modules/prefs/elm_horizontal_box.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *obj = elm_box_add(prefs); | 7 | Evas_Object *obj = elm_box_add(prefs); |
diff --git a/src/modules/prefs/elm_horizontal_frame.c b/src/modules/prefs/elm_horizontal_frame.c index 9fe153ca4..b848e3dea 100644 --- a/src/modules/prefs/elm_horizontal_frame.c +++ b/src/modules/prefs/elm_horizontal_frame.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *bx, *obj = elm_frame_add(prefs); | 7 | Evas_Object *bx, *obj = elm_frame_add(prefs); |
diff --git a/src/modules/prefs/elm_label.c b/src/modules/prefs/elm_label.c index 1e321a342..8ea7e66a9 100644 --- a/src/modules/prefs/elm_label.c +++ b/src/modules/prefs/elm_label.c | |||
@@ -7,11 +7,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
7 | }; | 7 | }; |
8 | 8 | ||
9 | static Evas_Object * | 9 | static Evas_Object * |
10 | elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 10 | elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
11 | Evas_Object *prefs, | 11 | Evas_Object *prefs, |
12 | const Elm_Prefs_Item_Type type __UNUSED__, | 12 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
13 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 13 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
14 | Elm_Prefs_Item_Changed_Cb it_changed_cb __UNUSED__) | 14 | Elm_Prefs_Item_Changed_Cb it_changed_cb EINA_UNUSED) |
15 | { | 15 | { |
16 | Evas_Object *obj = elm_label_add(prefs); | 16 | Evas_Object *obj = elm_label_add(prefs); |
17 | 17 | ||
diff --git a/src/modules/prefs/elm_separator.c b/src/modules/prefs/elm_separator.c index ed5aa5bad..1d72a4b6a 100644 --- a/src/modules/prefs/elm_separator.c +++ b/src/modules/prefs/elm_separator.c | |||
@@ -7,11 +7,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
7 | }; | 7 | }; |
8 | 8 | ||
9 | static Evas_Object * | 9 | static Evas_Object * |
10 | elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 10 | elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
11 | Evas_Object *prefs, | 11 | Evas_Object *prefs, |
12 | const Elm_Prefs_Item_Type type __UNUSED__, | 12 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
13 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 13 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
14 | Elm_Prefs_Item_Changed_Cb cb __UNUSED__) | 14 | Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED) |
15 | { | 15 | { |
16 | Evas_Object *obj = elm_separator_add(prefs); | 16 | Evas_Object *obj = elm_separator_add(prefs); |
17 | 17 | ||
diff --git a/src/modules/prefs/elm_slider.c b/src/modules/prefs/elm_slider.c index 06157f492..09515df89 100644 --- a/src/modules/prefs/elm_slider.c +++ b/src/modules/prefs/elm_slider.c | |||
@@ -10,7 +10,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
10 | static void | 10 | static void |
11 | _item_changed_cb(void *data, | 11 | _item_changed_cb(void *data, |
12 | Evas_Object *obj, | 12 | Evas_Object *obj, |
13 | void *event_info __UNUSED__) | 13 | void *event_info EINA_UNUSED) |
14 | { | 14 | { |
15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
16 | 16 | ||
@@ -18,7 +18,7 @@ _item_changed_cb(void *data, | |||
18 | } | 18 | } |
19 | 19 | ||
20 | static Evas_Object * | 20 | static Evas_Object * |
21 | elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 21 | elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
22 | Evas_Object *prefs, | 22 | Evas_Object *prefs, |
23 | const Elm_Prefs_Item_Type type, | 23 | const Elm_Prefs_Item_Type type, |
24 | const Elm_Prefs_Item_Spec spec, | 24 | const Elm_Prefs_Item_Spec spec, |
diff --git a/src/modules/prefs/elm_spinner.c b/src/modules/prefs/elm_spinner.c index 2317f9e0d..486dc9812 100644 --- a/src/modules/prefs/elm_spinner.c +++ b/src/modules/prefs/elm_spinner.c | |||
@@ -10,7 +10,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
10 | static void | 10 | static void |
11 | _item_changed_cb(void *data, | 11 | _item_changed_cb(void *data, |
12 | Evas_Object *obj, | 12 | Evas_Object *obj, |
13 | void *event_info __UNUSED__) | 13 | void *event_info EINA_UNUSED) |
14 | { | 14 | { |
15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
16 | 16 | ||
@@ -18,7 +18,7 @@ _item_changed_cb(void *data, | |||
18 | } | 18 | } |
19 | 19 | ||
20 | static Evas_Object * | 20 | static Evas_Object * |
21 | elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 21 | elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
22 | Evas_Object *prefs, | 22 | Evas_Object *prefs, |
23 | const Elm_Prefs_Item_Type type, | 23 | const Elm_Prefs_Item_Type type, |
24 | const Elm_Prefs_Item_Spec spec, | 24 | const Elm_Prefs_Item_Spec spec, |
diff --git a/src/modules/prefs/elm_swallow.c b/src/modules/prefs/elm_swallow.c index b8bc8b59a..0fd738cf8 100644 --- a/src/modules/prefs/elm_swallow.c +++ b/src/modules/prefs/elm_swallow.c | |||
@@ -12,11 +12,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
12 | }; | 12 | }; |
13 | 13 | ||
14 | static Evas_Object * | 14 | static Evas_Object * |
15 | elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 15 | elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
16 | Evas_Object *prefs, | 16 | Evas_Object *prefs, |
17 | const Elm_Prefs_Item_Type type __UNUSED__, | 17 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
18 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 18 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
19 | Elm_Prefs_Item_Changed_Cb cb __UNUSED__) | 19 | Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED) |
20 | { | 20 | { |
21 | Evas_Object *obj = elm_layout_add(prefs); | 21 | Evas_Object *obj = elm_layout_add(prefs); |
22 | 22 | ||
diff --git a/src/modules/prefs/elm_vertical_box.c b/src/modules/prefs/elm_vertical_box.c index 2b23a45c9..c7ffa0854 100644 --- a/src/modules/prefs/elm_vertical_box.c +++ b/src/modules/prefs/elm_vertical_box.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *obj = elm_box_add(prefs); | 7 | Evas_Object *obj = elm_box_add(prefs); |
diff --git a/src/modules/prefs/elm_vertical_frame.c b/src/modules/prefs/elm_vertical_frame.c index 06bb5c5fe..0df2a4a68 100644 --- a/src/modules/prefs/elm_vertical_frame.c +++ b/src/modules/prefs/elm_vertical_frame.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *bx, *obj = elm_frame_add(prefs); | 7 | Evas_Object *bx, *obj = elm_frame_add(prefs); |
diff --git a/src/modules/prefs/prefs_iface.c b/src/modules/prefs/prefs_iface.c index 5d1b12bcc..1150fcbd2 100644 --- a/src/modules/prefs/prefs_iface.c +++ b/src/modules/prefs/prefs_iface.c | |||
@@ -263,7 +263,7 @@ elm_prefs_page_common_unpack(Evas_Object *it, | |||
263 | } | 263 | } |
264 | 264 | ||
265 | EAPI int | 265 | EAPI int |
266 | elm_modapi_init(void *m __UNUSED__) | 266 | elm_modapi_init(void *m EINA_UNUSED) |
267 | { | 267 | { |
268 | _elm_prefs_log_dom = eina_log_domain_register | 268 | _elm_prefs_log_dom = eina_log_domain_register |
269 | ("elm-prefs", EINA_COLOR_YELLOW); | 269 | ("elm-prefs", EINA_COLOR_YELLOW); |
@@ -275,7 +275,7 @@ elm_modapi_init(void *m __UNUSED__) | |||
275 | } | 275 | } |
276 | 276 | ||
277 | EAPI int | 277 | EAPI int |
278 | elm_modapi_shutdown(void *m __UNUSED__) | 278 | elm_modapi_shutdown(void *m EINA_UNUSED) |
279 | { | 279 | { |
280 | elm_prefs_item_iface_unregister(_elm_prefs_item_widgets); | 280 | elm_prefs_item_iface_unregister(_elm_prefs_item_widgets); |
281 | elm_prefs_page_iface_unregister(_elm_prefs_page_widgets); | 281 | elm_prefs_page_iface_unregister(_elm_prefs_page_widgets); |