summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_example.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-01-10 16:33:22 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-01-10 16:37:59 +0900
commitea379f43a09d0586daf03b44516ed8d8550d0a91 (patch)
treed2787cf7ac393d0996ecab3cc22a101a5037292e /src/examples/emotion/emotion_generic_example.c
parent2ed4a0510a9704c2fae790b3945ae708268dfe16 (diff)
emotion: remove some warning in the example.
Diffstat (limited to 'src/examples/emotion/emotion_generic_example.c')
-rw-r--r--src/examples/emotion/emotion_generic_example.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index 6d585fb..9320230 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -16,13 +16,13 @@ static Eina_List *filenames = NULL;
16static Eina_List *curfile = NULL; 16static Eina_List *curfile = NULL;
17 17
18static void 18static void
19_playback_started_cb(void *data, Evas_Object *o, void *event_info) 19_playback_started_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
20{ 20{
21 printf("Emotion object started playback.\n"); 21 printf("Emotion object started playback.\n");
22} 22}
23 23
24static void 24static void
25_playback_stopped_cb(void *data, Evas_Object *o, void *event_info) 25_playback_stopped_cb(void *data EINA_UNUSED, Evas_Object *o, void *event_info EINA_UNUSED)
26{ 26{
27 printf("Emotion playback stopped.\n"); 27 printf("Emotion playback stopped.\n");
28 emotion_object_play_set(o, EINA_FALSE); 28 emotion_object_play_set(o, EINA_FALSE);
@@ -45,7 +45,7 @@ _create_emotion_object(Evas *e)
45} 45}
46 46
47static void 47static void
48_on_key_down(void *data, Evas *e, Evas_Object *o, void *event_info) 48_on_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
49{ 49{
50 Evas_Event_Key_Down *ev = event_info; 50 Evas_Event_Key_Down *ev = event_info;
51 Evas_Object *em = data; 51 Evas_Object *em = data;
@@ -124,25 +124,25 @@ _on_key_down(void *data, Evas *e, Evas_Object *o, void *event_info)
124} 124}
125 125
126static void 126static void
127_frame_decode_cb(void *data, Evas_Object *o, void *event_info) 127_frame_decode_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
128{ 128{
129 // fprintf(stderr, "smartcb: frame_decode\n"); 129 // fprintf(stderr, "smartcb: frame_decode\n");
130} 130}
131 131
132static void 132static void
133_length_change_cb(void *data, Evas_Object *o, void *event_info) 133_length_change_cb(void *data EINA_UNUSED, Evas_Object *o, void *event_info EINA_UNUSED)
134{ 134{
135 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(o)); 135 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(o));
136} 136}
137 137
138static void 138static void
139_position_update_cb(void *data, Evas_Object *o, void *event_info) 139_position_update_cb(void *data EINA_UNUSED, Evas_Object *o, void *event_info EINA_UNUSED)
140{ 140{
141 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(o)); 141 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(o));
142} 142}
143 143
144static void 144static void
145_progress_change_cb(void *data, Evas_Object *o, void *event_info) 145_progress_change_cb(void *data EINA_UNUSED, Evas_Object *o, void *event_info EINA_UNUSED)
146{ 146{
147 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", 147 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
148 emotion_object_progress_status_get(o), 148 emotion_object_progress_status_get(o),
@@ -150,7 +150,7 @@ _progress_change_cb(void *data, Evas_Object *o, void *event_info)
150} 150}
151 151
152static void 152static void
153_frame_resize_cb(void *data, Evas_Object *o, void *event_info) 153_frame_resize_cb(void *data EINA_UNUSED, Evas_Object *o, void *event_info EINA_UNUSED)
154{ 154{
155 int w, h; 155 int w, h;
156 emotion_object_size_get(o, &w, &h); 156 emotion_object_size_get(o, &w, &h);