tests/TreeBuilder.vala
authorAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 11:26:24 +0000 (19:26 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 11:26:24 +0000 (19:26 +0800)
tests/TreeBuilder.vala.c

tests/TreeBuilder.vala

index 3dd44fd..e011b34 100644 (file)
@@ -58,6 +58,8 @@ public class TreeBuilder : Vala.CodeVisitor {
 
                //register_source_file (source_package, source_file);
 
+               context.add_package ("glib-2.0");
+               
                //if (context.profile == Vala.Profile.GOBJECT) {
                        // import the GLib namespace by default (namespace of backend-specific standard library)
                        var ns_ref = new Vala.UsingDirective (new Vala.UnresolvedSymbol (null, "GLib", null));