src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 07:41:54 +0000 (15:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 07:41:54 +0000 (15:41 +0800)
src/Palete/ValaSource.vala

index cd9f512..158b7f9 100644 (file)
@@ -197,7 +197,7 @@ namespace Palete {
                {
                        // race condition..
                        if (this.compiler != null) { 
-                               return false;
+                               return;
                        }
                        var pr = (Project.Gtk)(file.project);
                        
@@ -222,16 +222,15 @@ namespace Palete {
                        try {
                            this.compiler = new Spawn(pr.firstPath(), args);
                            this.compiler.complete.connect(spawnResult);
-                       
                            this.compiler.run(); 
                        
                         
                        } catch (GLib.Error e) {
                            GLib.debug(e.message);
                            this.compiler = null;
-                           return false;
+
                        }
-                       return true;
+                       return;
                         
                }