src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 08:17:04 +0000 (16:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 08:17:04 +0000 (16:17 +0800)
src/Palete/ValaSource.vala

index 4881c42..9f55f15 100644 (file)
@@ -129,9 +129,10 @@ namespace Palete {
                         
                        
                        this.compiler = new Spawn("/tmp", args);
+                       this.compiler.complete.connect(spawnResult);
                        
                        try {
-                               this.compiler.run(spawnResult); 
+                               this.compiler.run(); 
                        } catch (GLib.SpawnError e) {
                                var ret = new Json.Object();
                                ret.set_boolean_member("success", false);