cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3709a908d725bac401f9c8fe2afc60c8975d8be8

commit 3709a908d725bac401f9c8fe2afc60c8975d8be8
Author: Irfan Abdul <irfan.ab...@samsung.com>
Date:   Thu Aug 21 11:14:22 2014 +0200

    edje: Edje_cc - fix not storing edc sources in .edj file with --no-save 
option
    
    Reviewers: govi, raster, jpeg, zmike, cedric
    
    Subscribers: cedric
    
    @fix
    
    Differential Revision: https://phab.enlightenment.org/D1292
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/bin/edje/edje_cc_out.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
old mode 100644
new mode 100755
index 0bd9611..b51c82f
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1960,13 +1960,16 @@ data_write(void)
    data_write_lua_scripts(ef);
    INF("lua scripts: %3.5f", ecore_time_get() - t); t = ecore_time_get();
 
-   pending_threads++;
-   if (threads)
-     ecore_thread_run(data_thread_source, data_thread_source_end, NULL, ef);
-   else
+   if (!no_save)
      {
-        data_thread_source(ef, NULL);
-        data_thread_source_end(ef, NULL);
+        pending_threads++;
+        if (threads)
+          ecore_thread_run(data_thread_source, data_thread_source_end, NULL, 
ef);
+        else
+          {
+             data_thread_source(ef, NULL);
+             data_thread_source_end(ef, NULL);
+          }
      }
    INF("source: %3.5f", ecore_time_get() - t); t = ecore_time_get();
    pending_threads++;

-- 


Reply via email to