nikawhite pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=a40b1441287d81ac2c1def4b02fef3468b0f2aea

commit a40b1441287d81ac2c1def4b02fef3468b0f2aea
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Tue Dec 29 11:34:59 2015 +0900

    Build: reset error notification before each build.
    
    fix T2972
---
 src/lib/build.c          | 1 +
 src/lib/enventor_smart.c | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/build.c b/src/lib/build.c
index 81911ea..94e6c72 100644
--- a/src/lib/build.c
+++ b/src/lib/build.c
@@ -125,6 +125,7 @@ void
 build_edc(void)
 {
    build_data *bd = g_bd;
+   bd->noti_cb(bd->noti_data, NULL);
 
    build_cmd_set(bd);
 
diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index ece695b..3ae1431 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -162,7 +162,8 @@ call_error:
    edit_ctxpopup_dismiss(pd->ed);
    if (line_num || target)
      edit_syntax_color_full_apply(pd->ed, EINA_TRUE);
-   evas_object_smart_callback_call(pd->obj, SIG_COMPILE_ERROR, (char *)msg);
+   if (msg)
+     evas_object_smart_callback_call(pd->obj, SIG_COMPILE_ERROR, (char *)msg);
 
 }
 

-- 


Reply via email to