summaryrefslogtreecommitdiff
path: root/src/benchmarks
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/benchmarks
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/benchmarks')
-rw-r--r--src/benchmarks/eo/eo_bench_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmarks/eo/eo_bench_callbacks.c b/src/benchmarks/eo/eo_bench_callbacks.c
index 4c8a9f3..1846a70 100644
--- a/src/benchmarks/eo/eo_bench_callbacks.c
+++ b/src/benchmarks/eo/eo_bench_callbacks.c
@@ -65,7 +65,7 @@ bench_eo_callbacks_call(int request)
65 for (j = 0 ; j < (int) (distribution[i] * request) ; j++) 65 for (j = 0 ; j < (int) (distribution[i] * request) ; j++)
66 { 66 {
67 /* Miss finding the callbacks on purpose, so we measure worst case scenario. */ 67 /* Miss finding the callbacks on purpose, so we measure worst case scenario. */
68 efl_event_callback_call(obj[i], SIMPLE_BAR, NULL); 68 efl_event_callback_legacy_call(obj[i], SIMPLE_BAR, NULL);
69 } 69 }
70 } 70 }
71 71