From: Alan Knowles Date: Thu, 25 Sep 2014 11:33:16 +0000 (+0800) Subject: tests/TreeBuilder.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=5838c8e968f4f853748f248054ba364ff4324580 tests/TreeBuilder.vala --- diff --git a/tests/TreeBuilder.vala b/tests/TreeBuilder.vala index bac2a17e8..604aa407c 100644 --- 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);