summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-05-18 08:17:36 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-05-18 08:18:04 -0700
commit75a53ece1007d927b8f0b6c5d3f269726afb9108 (patch)
tree034e6bcccf51916512c5e361666f9f46a1b97069 /src/examples
parent72adab722226b664ce0b63be46650874cd8b0ef9 (diff)
eo: for consistency use object like all our API.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_audio_playback.c8
-rw-r--r--src/examples/ecore/ecore_audio_to_ogg.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/examples/ecore/ecore_audio_playback.c b/src/examples/ecore/ecore_audio_playback.c
index 9beb4e3b94..1453dc2f7b 100644
--- a/src/examples/ecore/ecore_audio_playback.c
+++ b/src/examples/ecore/ecore_audio_playback.c
@@ -196,12 +196,12 @@ static Eina_Bool _play_finished(void *data EINA_UNUSED, const Eo_Event *event)
196 const char *name; 196 const char *name;
197 Eina_Bool ret; 197 Eina_Bool ret;
198 198
199 ecore_audio_obj_name_get(event->obj, &name); 199 ecore_audio_obj_name_get(event->object, &name);
200 printf("Done: %s\n", name); 200 printf("Done: %s\n", name);
201 201
202 inputs = eina_list_remove(inputs, event->obj); 202 inputs = eina_list_remove(inputs, event->object);
203 ret = ecore_audio_obj_out_input_detach(out, event->obj); 203 ret = ecore_audio_obj_out_input_detach(out, event->object);
204 eo_unref(event->obj); 204 eo_unref(event->object);
205 205
206 if (!ret) 206 if (!ret)
207 printf("Could not detach input %s\n", name); 207 printf("Could not detach input %s\n", name);
diff --git a/src/examples/ecore/ecore_audio_to_ogg.c b/src/examples/ecore/ecore_audio_to_ogg.c
index 2296be2e09..7041451430 100644
--- a/src/examples/ecore/ecore_audio_to_ogg.c
+++ b/src/examples/ecore/ecore_audio_to_ogg.c
@@ -20,11 +20,11 @@ static Eina_Bool _play_finished(void *data EINA_UNUSED, const Eo_Event *event)
20 const char *name; 20 const char *name;
21 Eo *out; 21 Eo *out;
22 22
23 ecore_audio_obj_name_get(event->obj, &name); 23 ecore_audio_obj_name_get(event->object, &name);
24 printf("Done: %s\n", name); 24 printf("Done: %s\n", name);
25 25
26 ecore_audio_obj_in_output_get(event->obj, &out); 26 ecore_audio_obj_in_output_get(event->object, &out);
27 eo_unref(event->obj); 27 eo_unref(event->object);
28 eo_unref(out); 28 eo_unref(out);
29 29
30 ecore_main_loop_quit(); 30 ecore_main_loop_quit();