From d242cf69f70d1a913644fb596b548d87beacc0a0 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 11 Feb 2013 19:08:25 +0100 Subject: Workaround vala bug 604973 --- tools/wixl/wix.vala | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/wixl/wix.vala b/tools/wixl/wix.vala index a041996..200753c 100644 --- a/tools/wixl/wix.vala +++ b/tools/wixl/wix.vala @@ -484,6 +484,10 @@ namespace Wixl { ref_type = typeof (WixComponent); } + public override string full_path (WixResolver r) throws GLib.Error { + return (r.resolve (this) as WixElement).full_path (r); + } + public override void accept (WixNodeVisitor visitor) throws GLib.Error { visitor.visit_component_ref (this); } @@ -495,6 +499,10 @@ namespace Wixl { ref_type = typeof (WixComponentGroup); } + public override string full_path (WixResolver r) throws GLib.Error { + return (r.resolve (this) as WixElement).full_path (r); + } + public override void accept (WixNodeVisitor visitor) throws GLib.Error { visitor.visit_component_group_ref (this); } @@ -1041,10 +1049,10 @@ namespace Wixl { // ref_type = typeof (G); // } + // FIXME vala: G type doesn't seem to be set correctly... public override string full_path (WixResolver r) throws GLib.Error { return (r.resolve (this) as WixElement).full_path (r); } - } public class WixDirectoryRef: WixElementRef { @@ -1057,6 +1065,10 @@ namespace Wixl { typeof (WixComponent), }); } + + public override string full_path (WixResolver r) throws GLib.Error { + return (r.resolve (this) as WixElement).full_path (r); + } } class WixRoot: WixElement { -- cgit