summaryrefslogtreecommitdiff
path: root/doc
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 /doc
parentf8a004e8bced2cf3142655c103629ec2df33443d (diff)
elm: Changed __UNUSED__ to EINA_UNUSED.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples.dox2
-rw-r--r--doc/widgets/widget_preview_gengrid.c10
-rw-r--r--doc/widgets/widget_preview_genlist1.c12
-rw-r--r--doc/widgets/widget_preview_genlist2.c10
-rw-r--r--doc/widgets/widget_preview_genlist3.c10
-rw-r--r--doc/widgets/widget_preview_genlist4.c10
-rw-r--r--doc/widgets/widget_preview_genlist5.c10
-rw-r--r--doc/widgets/widget_preview_map.c4
-rw-r--r--doc/widgets/widget_preview_tmpl_head.c4
9 files changed, 36 insertions, 36 deletions
diff --git a/doc/examples.dox b/doc/examples.dox
index 09233292d..6286db473 100644
--- a/doc/examples.dox
+++ b/doc/examples.dox
@@ -4521,7 +4521,7 @@
4521 * and the entry itself doesn't, yet, support all the needed capabilities to 4521 * and the entry itself doesn't, yet, support all the needed capabilities to
4522 * make this simpler. We begin by getting the format we are using in our 4522 * make this simpler. We begin by getting the format we are using in our
4523 * function from the button pressed. 4523 * function from the button pressed.
4524 * @skip _format_change_cb(void *data, Evas_Object *obj, void *event __UNUSED__) 4524 * @skip _format_change_cb(void *data, Evas_Object *obj, void *event EINA_UNUSED))
4525 * @until sizeof(fmt_close) 4525 * @until sizeof(fmt_close)
4526 * 4526 *
4527 * Next we need to find out if we need to insert an opening or a closing tag. 4527 * Next we need to find out if we need to insert an opening or a closing tag.
diff --git a/doc/widgets/widget_preview_gengrid.c b/doc/widgets/widget_preview_gengrid.c
index b663b8833..f57f8b646 100644
--- a/doc/widgets/widget_preview_gengrid.c
+++ b/doc/widgets/widget_preview_gengrid.c
@@ -2,19 +2,19 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_grid_text_get(void *data __UNUSED__, 9_grid_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part __UNUSED__) 11 const char *part EINA_UNUSED)
12{ 12{
13 return strdup("label"); 13 return strdup("label");
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_grid_content_get(void *data __UNUSED__, 17_grid_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part) 19 const char *part)
20{ 20{
diff --git a/doc/widgets/widget_preview_genlist1.c b/doc/widgets/widget_preview_genlist1.c
index 3edb65dd0..2a00e38c6 100644
--- a/doc/widgets/widget_preview_genlist1.c
+++ b/doc/widgets/widget_preview_genlist1.c
@@ -2,21 +2,21 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_text_get(void *data __UNUSED__, 9_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part __UNUSED__) 11 const char *part EINA_UNUSED)
12{ 12{
13 return strdup("label"); 13 return strdup("label");
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_content_get(void *data __UNUSED__, 17_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part __UNUSED__) 19 const char *part EINA_UNUSED)
20{ 20{
21 Evas_Object *icon = elm_icon_add(obj); 21 Evas_Object *icon = elm_icon_add(obj);
22 elm_icon_standard_set(icon, "home"); 22 elm_icon_standard_set(icon, "home");
diff --git a/doc/widgets/widget_preview_genlist2.c b/doc/widgets/widget_preview_genlist2.c
index 89d89cc40..247eb519c 100644
--- a/doc/widgets/widget_preview_genlist2.c
+++ b/doc/widgets/widget_preview_genlist2.c
@@ -2,21 +2,21 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_text_get(void *data __UNUSED__, 9_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part) 11 const char *part)
12{ 12{
13 return strdup(part); 13 return strdup(part);
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_content_get(void *data __UNUSED__, 17_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part __UNUSED__) 19 const char *part EINA_UNUSED)
20{ 20{
21 Evas_Object *icon = elm_icon_add(obj); 21 Evas_Object *icon = elm_icon_add(obj);
22 elm_icon_standard_set(icon, "home"); 22 elm_icon_standard_set(icon, "home");
diff --git a/doc/widgets/widget_preview_genlist3.c b/doc/widgets/widget_preview_genlist3.c
index 919a1ec5e..48851d368 100644
--- a/doc/widgets/widget_preview_genlist3.c
+++ b/doc/widgets/widget_preview_genlist3.c
@@ -2,21 +2,21 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_text_get(void *data __UNUSED__, 9_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part) 11 const char *part)
12{ 12{
13 return strdup(part); 13 return strdup(part);
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_content_get(void *data __UNUSED__, 17_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part __UNUSED__) 19 const char *part EINA_UNUSED)
20{ 20{
21 Evas_Object *icon = elm_icon_add(obj); 21 Evas_Object *icon = elm_icon_add(obj);
22 elm_icon_standard_set(icon, "home"); 22 elm_icon_standard_set(icon, "home");
diff --git a/doc/widgets/widget_preview_genlist4.c b/doc/widgets/widget_preview_genlist4.c
index 62259026c..97853ae44 100644
--- a/doc/widgets/widget_preview_genlist4.c
+++ b/doc/widgets/widget_preview_genlist4.c
@@ -2,21 +2,21 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_text_get(void *data __UNUSED__, 9_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part) 11 const char *part)
12{ 12{
13 return strdup(part); 13 return strdup(part);
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_content_get(void *data __UNUSED__, 17_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part __UNUSED__) 19 const char *part EINA_UNUSED)
20{ 20{
21 Evas_Object *icon = elm_icon_add(obj); 21 Evas_Object *icon = elm_icon_add(obj);
22 elm_icon_standard_set(icon, "home"); 22 elm_icon_standard_set(icon, "home");
diff --git a/doc/widgets/widget_preview_genlist5.c b/doc/widgets/widget_preview_genlist5.c
index 09cc493f8..740e17acd 100644
--- a/doc/widgets/widget_preview_genlist5.c
+++ b/doc/widgets/widget_preview_genlist5.c
@@ -2,21 +2,21 @@
2#ifdef HAVE_CONFIG_H 2#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 3# include "elementary_config.h"
4#else 4#else
5# define __UNUSED__ 5# define EINA_UNUSED
6#endif 6#endif
7 7
8static char * 8static char *
9_text_get(void *data __UNUSED__, 9_text_get(void *data EINA_UNUSED,
10 Evas_Object *obj __UNUSED__, 10 Evas_Object *obj EINA_UNUSED,
11 const char *part) 11 const char *part)
12{ 12{
13 return strdup(part); 13 return strdup(part);
14} 14}
15 15
16static Evas_Object * 16static Evas_Object *
17_content_get(void *data __UNUSED__, 17_content_get(void *data EINA_UNUSED,
18 Evas_Object *obj, 18 Evas_Object *obj,
19 const char *part __UNUSED__) 19 const char *part EINA_UNUSED)
20{ 20{
21 Evas_Object *icon = elm_icon_add(obj); 21 Evas_Object *icon = elm_icon_add(obj);
22 elm_icon_standard_set(icon, "home"); 22 elm_icon_standard_set(icon, "home");
diff --git a/doc/widgets/widget_preview_map.c b/doc/widgets/widget_preview_map.c
index b55739a8e..eb0692934 100644
--- a/doc/widgets/widget_preview_map.c
+++ b/doc/widgets/widget_preview_map.c
@@ -1,7 +1,7 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#else 3#else
4# define __UNUSED__ 4# define EINA_UNUSED
5#endif 5#endif
6 6
7#include <Elementary.h> 7#include <Elementary.h>
@@ -20,7 +20,7 @@ _nasty_hack(void *data)
20} 20}
21 21
22EAPI_MAIN int 22EAPI_MAIN int
23elm_main(int argc __UNUSED__, char **argv) 23elm_main(int argc EINA_UNUSED, char **argv)
24{ 24{
25 Evas_Object *win, *bg; 25 Evas_Object *win, *bg;
26 Evas_Coord w, h; 26 Evas_Coord w, h;
diff --git a/doc/widgets/widget_preview_tmpl_head.c b/doc/widgets/widget_preview_tmpl_head.c
index 59b137068..feae87254 100644
--- a/doc/widgets/widget_preview_tmpl_head.c
+++ b/doc/widgets/widget_preview_tmpl_head.c
@@ -1,13 +1,13 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#else 3#else
4# define __UNUSED__ 4# define EINA_UNUSED
5#endif 5#endif
6 6
7#include <Elementary.h> 7#include <Elementary.h>
8 8
9EAPI_MAIN int 9EAPI_MAIN int
10elm_main(int argc __UNUSED__, char **argv) 10elm_main(int argc EINA_UNUSED, char **argv)
11{ 11{
12 Evas_Object *win, *bg; 12 Evas_Object *win, *bg;
13 Evas_Coord w, h; 13 Evas_Coord w, h;