summaryrefslogtreecommitdiff
path: root/src/examples/elementary/hover_example_01.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 15:33:59 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 17:44:57 +0900
commitbcf3ce84289ad4c91e89d6f5c3c9167af60036f3 (patch)
treed22ab98afccd2f5570aec74fd7957547c2011025 /src/examples/elementary/hover_example_01.c
parenta71b770bbc848bff2231bac1e75bf2a85885aca5 (diff)
examples: Fix most trivial warnings
This fixes all warnings for "make examples" for: -Wunused-parameter -Wshadow -Wformat-security -Wenum-conversion Some remaining warnings include: -Wdeprecated-delcarations
Diffstat (limited to 'src/examples/elementary/hover_example_01.c')
-rw-r--r--src/examples/elementary/hover_example_01.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/hover_example_01.c b/src/examples/elementary/hover_example_01.c
index f4a7622..d6fe32d 100644
--- a/src/examples/elementary/hover_example_01.c
+++ b/src/examples/elementary/hover_example_01.c
@@ -4,19 +4,19 @@
4#include <Elementary.h> 4#include <Elementary.h>
5 5
6static void 6static void
7_show_hover(void *data, Evas_Object *obj, void *event_info) 7_show_hover(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
8{ 8{
9 evas_object_show(data); 9 evas_object_show(data);
10} 10}
11 11
12static void 12static void
13_hide_hover(void *data, Evas_Object *obj, void *event_info) 13_hide_hover(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
14{ 14{
15 evas_object_hide(data); 15 evas_object_hide(data);
16} 16}
17 17
18EAPI_MAIN int 18EAPI_MAIN int
19elm_main(int argc, char **argv) 19elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
20{ 20{
21 Evas_Object *win, *bt, *bt2, *rect, *rect2, *rect3, *hover; 21 Evas_Object *win, *bt, *bt2, *rect, *rect2, *rect3, *hover;
22 22