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:
98bbe3a
)
tests/TreeBuilder.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Sep 2014 11:33:16 +0000
(19:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Sep 2014 11:33:16 +0000
(19:33 +0800)
tests/TreeBuilder.vala
patch
|
blob
|
history
diff --git
a/tests/TreeBuilder.vala
b/tests/TreeBuilder.vala
index
bac2a17
..
604aa40
100644
(file)
--- a/
tests/TreeBuilder.vala
+++ b/
tests/TreeBuilder.vala
@@
-58,7
+58,7
@@
public class TreeBuilder : Vala.CodeVisitor {
//register_source_file (source_package, source_file);
- context.add_external_package ("glib-2.0");
+
//if (context.profile == Vala.Profile.GOBJECT) {
// import the GLib namespace by default (namespace of backend-specific standard library)
@@
-66,7
+66,7
@@
public class TreeBuilder : Vala.CodeVisitor {
source_file.add_using_directive (ns_ref);
context.root.add_using_directive (ns_ref);
//}
-
+ context.add_external_package ("glib-2.0");
context.add_source_file (source_file);