src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 03:33:44 +0000 (11:33 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 03:33:44 +0000 (11:33 +0800)
src/Palete/ValaSource.vala

index fefc1c0..b988eff 100644 (file)
@@ -211,7 +211,7 @@ namespace Palete {
                        DataOutputStream dostream = new DataOutputStream (ostream);
                        dostream.put_string (contents);
                        
-                       
+                       var gproj = (Project.Gtk)project;
                        
                        this.file = null;
                        this.line_offset = 0;
@@ -221,7 +221,7 @@ namespace Palete {
                        args += "--project";
                        args +=  project.fn;
                        args += "--target";
-                       args += ((Project.Gtk)project).firstBuildModule();
+                       args += gproj.firstBuildModule();
        `               args += "--add-file";
                        args +=  tmpfile.get_path();
                        args += "--skip-file";