src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 11:34:29 +0000 (19:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 11:34:29 +0000 (19:34 +0800)
src/Palete/ValaSource.vala

index 173037c..9504c6d 100644 (file)
@@ -231,7 +231,7 @@ namespace Palete {
                }
                
                
-               public Gee.HashMap<int,string> compile(string filepath, string altpath)
+               public Gee.HashMap<int,string> compile(string filepath)
                {
                        // init context:
                        var valac = "valac " ;
@@ -300,7 +300,7 @@ namespace Palete {
                        var source_file = new Vala.SourceFile (
                                context, 
                                Vala.SourceFileType.SOURCE, 
-                                       altpath,
+                                       filepath,
                                        contents
                        );
                        source_file.add_using_directive (ns_ref);