void addMyVars()
{
+ GLib.debug("callinged addMhyVars");
+
this.addLine();
this.addLine(this.ipad + "// my vars (def)");
var cls = Palete.Gir.factoryFqn((Project.Gtk) this.file.project, this.node.fqn());
if (cls == null) {
+ GLib.debug("Gir factory failed to find class %s", this.node.fqn());
+
return;
}
this.ignore(k);
continue;
}
+ GLib.debug("Got myvars: %s", k.strip());
var min = (vv[0] == "$" || vv[0] == "#") ? 3 : 2;
if (vv.length < min) {
// skip 'old js style properties without a type'
- public static GirObject? factoryFqn(Project.Project project, string fqn)
+ public static GirObject? factoryFqn(Project.Project project, string in_fqn)
{
+ var fqn = in_fqn;
+ // swap Gtk.Source* to GtkSource.
+
+ GLib.debug("Gir.facotryFqn search %s", fqn);
var bits = fqn.split(".");
if (bits.length < 1) {
return null;
vapidirs += (BuilderApplication.configDirectory() + "/resources/vapi");
vapidirs += "/usr/share/vala-0.%d/vapi".printf(ver);
+ vapidirs += "/usr/share/vala/vapi";
context.vapi_directories = vapidirs;
// or context.get_vapi_path("glib-2.0"); // should return path..