summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-08-22 19:40:39 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-08-26 15:45:07 -0300
commit8356b16a49d4f653d61940763eff947466b44e24 (patch)
treeb5d8e533b3df4ad45f2ea97071b7a826ae5d04b5 /src/tests/eolian_js
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/eolian_js')
-rw-r--r--src/tests/eolian_js/eolian_js_test_test_object_impl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eolian_js/eolian_js_test_test_object_impl.c b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
index af4acbf..63a4a7a 100644
--- a/src/tests/eolian_js/eolian_js_test_test_object_impl.c
+++ b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
@@ -191,9 +191,9 @@ _test_object_event_emit(Eo* obj, Test_Object_Data *pd EINA_UNUSED)
191 fprintf(stdout, "_test_object_event_emit()\n"); 191 fprintf(stdout, "_test_object_event_emit()\n");
192 fflush(stdout); 192 fflush(stdout);
193 static Test_Struct_Ex s = {42, TEST_ENUM_EX_THIRD}; 193 static Test_Struct_Ex s = {42, TEST_ENUM_EX_THIRD};
194 efl_event_callback_call(obj, TEST_OBJECT_EVENT_TEST, NULL); 194 efl_event_callback_legacy_call(obj, TEST_OBJECT_EVENT_TEST, NULL);
195 efl_event_callback_call(obj, TEST_OBJECT_EVENT_TEST_STRUCTARG, &s); 195 efl_event_callback_legacy_call(obj, TEST_OBJECT_EVENT_TEST_STRUCTARG, &s);
196 efl_event_callback_call(obj, TEST_OBJECT_EVENT_TEST_STRINGARG, "foo"); 196 efl_event_callback_legacy_call(obj, TEST_OBJECT_EVENT_TEST_STRINGARG, "foo");
197} 197}
198 198
199EOLIAN static char * 199EOLIAN static char *