src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 09:11:56 +0000 (17:11 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 09:11:56 +0000 (17:11 +0800)
src/Palete/ValaSource.vala

index b5bc2f3..62e59fc 100644 (file)
@@ -225,7 +225,7 @@ namespace Palete {
                        // assume code is in home...
                        try {
                            this.compiler = new Spawn( GLib.Environment.get_home_dir(), args);
-                           this.compiler.output_line.connect(compile_output);
+                           this.compiler.output_line.connect(compile_output_line);
                            this.compiler.complete.connect(runResult);
                            this.compiler.run(); 
                        
@@ -238,8 +238,10 @@ namespace Palete {
                        return;
                         
                }
-               
-               
+               public bool compile_output_line(   string str )
+               {
+                       this.compile_output(str);
+               }
                /**
                * Used to compile a non builder file..
                */