summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-20 15:31:31 +0100
committerTom Hacohen <tom@stosb.com>2016-06-20 18:02:00 +0100
commit6202cc7485a54dea6f02a2668e7c907247902dd1 (patch)
tree7a1fa2b61175b1ef75a9bff7299a0ce3daa45216 /src/tests/ecore/ecore_test_ecore.c
parentd648eb5311585f7392d0290640ba133814b52589 (diff)
Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
Diffstat (limited to 'src/tests/ecore/ecore_test_ecore.c')
-rw-r--r--src/tests/ecore/ecore_test_ecore.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tests/ecore/ecore_test_ecore.c b/src/tests/ecore/ecore_test_ecore.c
index 338bb74a20..41858c0558 100644
--- a/src/tests/ecore/ecore_test_ecore.c
+++ b/src/tests/ecore/ecore_test_ecore.c
@@ -267,15 +267,13 @@ START_TEST(ecore_test_ecore_main_loop_fd_handler)
267} 267}
268END_TEST 268END_TEST
269 269
270static Eina_Bool 270static void
271_eo_read_cb(void *data, const Eo_Event *info EINA_UNUSED) 271_eo_read_cb(void *data, const Eo_Event *info EINA_UNUSED)
272{ 272{
273 Eina_Bool *did = data; 273 Eina_Bool *did = data;
274 274
275 *did = EINA_TRUE; 275 *did = EINA_TRUE;
276 ecore_main_loop_quit(); 276 ecore_main_loop_quit();
277
278 return EO_CALLBACK_CONTINUE;
279} 277}
280 278
281START_TEST(ecore_test_efl_loop_fd) 279START_TEST(ecore_test_efl_loop_fd)
@@ -310,14 +308,12 @@ START_TEST(ecore_test_efl_loop_fd)
310} 308}
311END_TEST 309END_TEST
312 310
313static Eina_Bool 311static void
314_eo_del_cb(void *data, const Eo_Event *ev EINA_UNUSED) 312_eo_del_cb(void *data, const Eo_Event *ev EINA_UNUSED)
315{ 313{
316 Eina_Bool *dead = data; 314 Eina_Bool *dead = data;
317 315
318 *dead = EINA_TRUE; 316 *dead = EINA_TRUE;
319
320 return EINA_TRUE;
321} 317}
322 318
323START_TEST(ecore_test_efl_loop_fd_lifecycle) 319START_TEST(ecore_test_efl_loop_fd_lifecycle)