ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=2f41b6ca28f6403ccf3b59f144147fac6914a997

commit 2f41b6ca28f6403ccf3b59f144147fac6914a997
Author: YeongJong Lee <[email protected]>
Date:   Fri Jul 1 10:17:54 2016 +0100

    Adjust the code according to the eo event stop changes.
    
    Summary: Changed the way Eo event callbacks are stopped.
    
    Test Plan: 1. make
    
    Reviewers: ajwillia.ms
    
    Reviewed By: ajwillia.ms
    
    Differential Revision: https://phab.enlightenment.org/D4114
---
 src/bin/edi_consolepanel.c | 13 ++++---------
 src/bin/edi_logpanel.c     |  4 +---
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/src/bin/edi_consolepanel.c b/src/bin/edi_consolepanel.c
index ed12597..b87ce39 100644
--- a/src/bin/edi_consolepanel.c
+++ b/src/bin/edi_consolepanel.c
@@ -81,7 +81,7 @@ static void _edi_consolepanel_parse_directory(const char 
*line)
      }
 }
 
-static Eina_Bool
+static void
 _edi_consolepanel_clicked_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    Edi_Path_Options *options;
@@ -109,10 +109,9 @@ _edi_consolepanel_clicked_cb(void *data EINA_UNUSED, const 
Eo_Event *event)
      }
 
    free(terminated);
-   return EINA_TRUE;
 }
 
-static Eina_Bool
+static void
 _edi_consolepanel_line_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    Elm_Code_Line *line;
@@ -121,8 +120,6 @@ _edi_consolepanel_line_cb(void *data EINA_UNUSED, const 
Eo_Event *event)
 
    if (line->data)
      line->status = ELM_CODE_STATUS_TYPE_ERROR;
-
-   return EO_CALLBACK_CONTINUE;
 }
 
 static void _edi_consolepanel_append_line_type(const char *line, Eina_Bool err)
@@ -274,7 +271,7 @@ _edi_test_line_parse_suite(const char *path)
      }
 }
 
-static Eina_Bool
+static void
 _edi_testpanel_line_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    Elm_Code_Line *line;
@@ -282,14 +279,12 @@ _edi_testpanel_line_cb(void *data EINA_UNUSED, const 
Eo_Event *event)
    line = (Elm_Code_Line *)event->info;
 
    if (!line->data)
-     return EO_CALLBACK_CONTINUE;
+     return;
 
    if (!strcmp(_EDI_SUITE_PASSED, line->data))
      line->status = ELM_CODE_STATUS_TYPE_PASSED;
    else
      line->status = ELM_CODE_STATUS_TYPE_FAILED;
-
-   return EO_CALLBACK_CONTINUE;
 }
 
 static void _edi_test_line_callback(const char *content)
diff --git a/src/bin/edi_logpanel.c b/src/bin/edi_logpanel.c
index 5733534..fb6d0e9 100644
--- a/src/bin/edi_logpanel.c
+++ b/src/bin/edi_logpanel.c
@@ -46,7 +46,7 @@ _edi_logpanel_print_cb(const Eina_Log_Domain *domain, 
Eina_Log_Level level,
                              (level <= EINA_LOG_LEVEL_ERR) ? _EDI_LOG_ERROR : 
NULL);
 }
 
-static Eina_Bool
+static void
 _edi_logpanel_line_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    Elm_Code_Line *line;
@@ -55,8 +55,6 @@ _edi_logpanel_line_cb(void *data EINA_UNUSED, const Eo_Event 
*event)
 
    if (line->data)
      line->status = ELM_CODE_STATUS_TYPE_ERROR;
-
-   return EO_CALLBACK_CONTINUE;
 }
 
 static Eina_Bool

-- 


Reply via email to