public void showCompileResult(Json.Object obj)
{
// vala has finished compiling...
- GLib.debug("vala compiled");
+
// stop the spinner...
+ GLib.debug("vala compiled Built Project: %s Window Project %s",
+
+ BuilderApplication.valasource.file == null ? "No file?" : (
+
+ BuilderApplication.valasource.file.project == null ? "No Project" : BuilderApplication.valasource.file.project.fn
+ ),
+ this.project != null ? this.project.fn : "No Project?"
+ );
+
+
+
if (this.project != null &&
BuilderApplication.valasource.file != null &&
BuilderApplication.valasource.file.project != null &&
}
Spawn compiler;
- public bool checkStringSpawn(
- string contents
+ private bool checkStringSpawn(
+ string contents
)
{
if (this.compiler != null) {
return false;
}
+ this.file = file;
FileIOStream iostream;
var tmpfile = File.new_tmp ("test-XXXXXX.vala", out iostream);
}
if (!(file.project is Project.Gtk)) {
return;
- }
+ }
var pr = (Project.Gtk)(file.project);
if (this.compiler != null) {
return false;
}
+ this.file = file;
var pr = (Project.Gtk)(file.project);