summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
committerTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
commitd5e321466e550620e8a1c6df5d5e598787a6a7d9 (patch)
treef749e5112fa486af1668785a63dfd9afbc331183 /src/tests/eo/suite
parentba80f7e5b027eebcfcbcb2b9758c2047383ec9ca (diff)
Efl object: Rename Eo_Event -> Efl_Event.
This is the last step of the Eo renaming efforts.
Diffstat (limited to 'src/tests/eo/suite')
-rw-r--r--src/tests/eo/suite/eo_test_general.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index d6ab99ea55..36c3b5a6f9 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -120,7 +120,7 @@ static int _eo_signals_cb_current = 0;
120static int _eo_signals_cb_flag = 0; 120static int _eo_signals_cb_flag = 0;
121 121
122static void 122static void
123_eo_signals_a_changed_cb(void *_data, const Eo_Event *event EINA_UNUSED) 123_eo_signals_a_changed_cb(void *_data, const Efl_Event *event EINA_UNUSED)
124{ 124{
125 int data = (intptr_t) _data; 125 int data = (intptr_t) _data;
126 _eo_signals_cb_current++; 126 _eo_signals_cb_current++;
@@ -129,14 +129,14 @@ _eo_signals_a_changed_cb(void *_data, const Eo_Event *event EINA_UNUSED)
129} 129}
130 130
131static void 131static void
132_eo_signals_a_changed_cb2(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED) 132_eo_signals_a_changed_cb2(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
133{ 133{
134 _eo_signals_cb_flag |= 0x2; 134 _eo_signals_cb_flag |= 0x2;
135 efl_event_callback_stop(event->object); 135 efl_event_callback_stop(event->object);
136} 136}
137 137
138static void 138static void
139_eo_signals_a_changed_within_cb(void *_data EINA_UNUSED, const Eo_Event *event) 139_eo_signals_a_changed_within_cb(void *_data EINA_UNUSED, const Efl_Event *event)
140{ 140{
141 int a = 3; 141 int a = 3;
142 efl_event_callback_legacy_call(event->object, EV_A_CHANGED, &a); 142 efl_event_callback_legacy_call(event->object, EV_A_CHANGED, &a);
@@ -144,20 +144,20 @@ _eo_signals_a_changed_within_cb(void *_data EINA_UNUSED, const Eo_Event *event)
144} 144}
145 145
146static void 146static void
147_eo_signals_a_changed_never(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED) 147_eo_signals_a_changed_never(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
148{ 148{
149 /* This one should never be called. */ 149 /* This one should never be called. */
150 fail_if(1); 150 fail_if(1);
151} 151}
152 152
153static void 153static void
154_eo_signals_efl_del_cb(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED) 154_eo_signals_efl_del_cb(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
155{ 155{
156 _eo_signals_cb_flag |= 0x4; 156 _eo_signals_cb_flag |= 0x4;
157} 157}
158 158
159void 159void
160_eo_signals_cb_added_deled(void *data, const Eo_Event *event) 160_eo_signals_cb_added_deled(void *data, const Efl_Event *event)
161{ 161{
162 const Efl_Callback_Array_Item *callback_array = event->info; 162 const Efl_Callback_Array_Item *callback_array = event->info;
163 const Efl_Callback_Array_Item *(*callback_data)(void) = data; 163 const Efl_Callback_Array_Item *(*callback_data)(void) = data;