projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ba85aa
)
src/Project/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 27 Apr 2015 10:17:20 +0000
(18:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 27 Apr 2015 10:17:20 +0000
(18:17 +0800)
src/Project/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Project/Gtk.vala
b/src/Project/Gtk.vala
index
1b31071
..
234c12a
100644
(file)
--- a/
src/Project/Gtk.vala
+++ b/
src/Project/Gtk.vala
@@
-272,7
+272,23
@@
namespace Project {
return path;
}
return path;
}
-
+ public string[] vapidirs()
+ {
+ string[] ret = {};
+ for(var i =0; i< this.sources.size; i++) {
+
+ var path = this.resolve_path(
+ this.resolve_path_combine_path(this.firstPath(),this.sources.get(i)));
+
+ if (Path.get_basename (path) == "vapi") {
+ print("Adding VAPIDIR: %s\n", path);
+ ret += path;
+ }
+
+ }
+ return ret;
+
+ }
}
}
@@
-310,18
+326,7
@@
namespace Project {
}
}
- public string[] vapidirs()
- {
- string[] ret = {};
- for(var i =0; i< this.sources.size; i++) {
- if (Path.get_basename (this.sources.get(i)) == "vapi") {
- ret[] += files.get(i);
- }
-
- }
- return ret;
-
- }
+
public Gee.ArrayList<string> readArray(Json.Array ar)
{
public Gee.ArrayList<string> readArray(Json.Array ar)
{