path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
authorVitor Sousa <>2016-08-22 19:40:39 -0300
committerVitor Sousa <>2016-08-26 15:45:07 -0300
commit8356b16a49d4f653d61940763eff947466b44e24 (patch)
treeb5d8e533b3df4ad45f2ea97071b7a826ae5d04b5 /src/tests/eo/suite/eo_test_class_simple.c
parent6b3ca899e8a60642466ddb6d7c7574b0c3ad9d9c (diff)
Efl Object: remove legacy callback calls from event_callback_call
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
Diffstat (limited to 'src/tests/eo/suite/eo_test_class_simple.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eo/suite/eo_test_class_simple.c b/src/tests/eo/suite/eo_test_class_simple.c
index a68d643fb0..6bbeda587e 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -20,7 +20,7 @@ _a_set(Eo *obj EINA_UNUSED, void *class_data, int a)
20 printf("%s %d\n", efl_class_name_get(MY_CLASS), a); 20 printf("%s %d\n", efl_class_name_get(MY_CLASS), a);
21 pd->a = a; 21 pd->a = a;
22 22
23 efl_event_callback_call(obj, EV_A_CHANGED, &pd->a); 23 efl_event_callback_legacy_call(obj, EV_A_CHANGED, &pd->a);
24} 24}
25 25
26static int 26static int