aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/eo/access/access_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/access/access_simple.c')
-rw-r--r--src/tests/eo/access/access_simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eo/access/access_simple.c b/src/tests/eo/access/access_simple.c
index 55e55e0a57..d4f6ec45a3 100644
--- a/src/tests/eo/access/access_simple.c
+++ b/src/tests/eo/access/access_simple.c
@@ -27,10 +27,10 @@ _a_set(Eo *obj, void *class_data, int a)
pd->protected.protected_x1 = a + 1;
pd->protected.public.public_x2 = a + 2;
- eo_do(obj, eo_event_callback_call(EV_A_CHANGED, &pd->a));
+ eo_do(obj, eo_event_callback_call(obj, EV_A_CHANGED, &pd->a));
}
-EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
+EAPI EO_FUNC_VOID_API_DEFINE(simple_a_set, EO_FUNC_CALL(a), int a);
static Eo_Op_Description op_descs[] = {
EO_OP_FUNC(simple_a_set, _a_set),