cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=00cd18b514e18a2d3f8fb3ec9a98f9244208a237

commit 00cd18b514e18a2d3f8fb3ec9a98f9244208a237
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Mar 12 15:24:01 2018 -0400

    tests: properly destroy elm_win timers to prevent crashes
    
    Signed-off-by: Mike Blumenkrantz <zm...@osg.samsung.com>
---
 src/tests/elementary/elm_test_win.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tests/elementary/elm_test_win.c 
b/src/tests/elementary/elm_test_win.c
index 88327d81e0..545261efc3 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -36,7 +36,7 @@ _timer_delete_request_cb(void *data)
 {
    Eo *win = (Eo*) data;
    _do_delete_request(win);
-   return ECORE_CALLBACK_PASS_ON;
+   return EINA_FALSE;
 }
 
 static Eina_Bool
@@ -44,14 +44,14 @@ _timer_hide_window_cb(void *data)
 {
    Eo *win = (Eo*) data;
    efl_gfx_visible_set(win, EINA_FALSE);
-   return ECORE_CALLBACK_PASS_ON;
+   return EINA_FALSE;
 }
 
 static Eina_Bool
 _timer_exit_cb(void *data EINA_UNUSED)
 {
    elm_exit();
-   return ECORE_CALLBACK_PASS_ON;
+   return EINA_FALSE;
 }
 
 static Eina_Bool
@@ -60,7 +60,7 @@ _timer_fail_flag_cb(void *data)
    Eina_Bool *fail_flag = (Eina_Bool*) data;
    *fail_flag = EINA_TRUE;
    elm_exit();
-   return ECORE_CALLBACK_PASS_ON;
+   return EINA_FALSE;
 }
 
 START_TEST (elm_win_legacy_type_check)

-- 


Reply via email to