hermet pushed a commit to branch master.

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

commit af4ec62a1bcfac5372d8864d0fb14f2dad089eea
Author: Hermet Park <[email protected]>
Date:   Wed Aug 3 00:38:03 2016 +0900

    edc_editor: ++secure code.
    
    just in case, if the animator is called after ed instance is removed.
---
 src/lib/edc_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index 343c783..50b3aaa 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -1096,7 +1096,7 @@ edit_edc_load(edit_data *ed, const char *file_path)
    ed->cur_line = 1;
    ed->line_max = line_num;
 
-   ecore_animator_add(syntax_color_timer_cb, ed);
+   syntax_color_timer_cb(ed);
 
    ret = EINA_TRUE;
 

-- 


Reply via email to