diff options
authorMyoungwoon Roy, Kim <>2018-02-07 13:50:24 +0900
committerJaehyun Cho <>2018-02-07 13:50:24 +0900
commitb203ff1878efc7a22329a321fea07ca46feff941 (patch)
parente93f7bce307489492d6cfb7f5578a36e4142a52d (diff)
ecore_event: Fix a break of consistency of return data
Summary: This patch fixes a break of consistency of return data from ecore_event_del. Before EFL 1.20, when calling ecore_event_add(ECORE_EVENT_SIGNAL_USER, event_data, NULL, &data); The user data(data) is saved at event->data. and when user calls ecore_event_del(event_handler), ecore_event_del returns event->data. However, current ecore_event_del returns pd->ev. I think it is ABI break. Test Plan: Execute test suite Reviewers: cedric, raster, stefan_schmidt, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision:
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_events.c b/src/lib/ecore/ecore_events.c
index 8d0b878803..258e10e663 100644
--- a/src/lib/ecore/ecore_events.c
+++ b/src/lib/ecore/ecore_events.c
@@ -89,7 +89,7 @@ ecore_event_del(Ecore_Event *event)
89{ 89{
90 void *data = NULL; 90 void *data = NULL;
91 if (!event) return data; 91 if (!event) return data;
92 ecore_event_message_data_get((Eo *)event, NULL, &data, NULL, NULL); 92 ecore_event_message_data_get((Eo *)event, NULL, NULL, NULL, &data);
93 _efl_loop_message_unsend((Eo *)event); 93 _efl_loop_message_unsend((Eo *)event);
94 return data; 94 return data;
95} 95}