From 5838c8e968f4f853748f248054ba364ff4324580 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 25 Sep 2014 19:33:16 +0800 Subject: [PATCH] tests/TreeBuilder.vala --- tests/TreeBuilder.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2