summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-02-29 10:18:40 +0000
committerTom Hacohen <tom@stosb.com>2016-02-29 11:33:27 +0000
commite71e6561eeb5f0a10e5b08e44d2977e58bfd682b (patch)
tree72b41e7f6740360d265bbda572da5eb236c2e957 /src/tests/ecore
parent56ea371dfb064c28906c7d8344b0c0e03c1d3d4d (diff)
Eo callbacks: Migrate all of the EFL to the new event cb signatures.
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index 5bceee2..fe2f325 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -11,7 +11,7 @@
11 11
12#include "ecore_suite.h" 12#include "ecore_suite.h"
13 13
14static Eina_Bool _failed_cb(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 14static Eina_Bool _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
15{ 15{
16 Eina_Bool *pulse_context_failed = data; 16 Eina_Bool *pulse_context_failed = data;
17 17
@@ -25,16 +25,16 @@ static Eina_Bool _failed_cb(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Desc
25 return EINA_TRUE; 25 return EINA_TRUE;
26} 26}
27 27
28static Eina_Bool _finished_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 28static Eina_Bool _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
29{ 29{
30 ecore_main_loop_quit(); 30 ecore_main_loop_quit();
31 31
32 return EINA_TRUE; 32 return EINA_TRUE;
33} 33}
34 34
35static Eina_Bool _looped_cb(void *data EINA_UNUSED, Eo *obj, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 35static Eina_Bool _looped_cb(void *data EINA_UNUSED, const Eo_Event *event)
36{ 36{
37 eo_do(obj, ecore_audio_obj_in_looped_set(EINA_FALSE)); 37 eo_do(event->obj, ecore_audio_obj_in_looped_set(EINA_FALSE));
38 38
39 return EINA_TRUE; 39 return EINA_TRUE;
40} 40}