diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-02-11 19:08:25 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-02-11 19:12:28 +0100 |
commit | d242cf69f70d1a913644fb596b548d87beacc0a0 (patch) | |
tree | 9ee7e4155c6d99347ec50f9b7058bcb7f511fbcb /tools | |
parent | 01f73db148ee323b31bdb90f7316ec08b38215ad (diff) | |
download | msitools-d242cf69f70d1a913644fb596b548d87beacc0a0.tar.gz msitools-d242cf69f70d1a913644fb596b548d87beacc0a0.tar.xz msitools-d242cf69f70d1a913644fb596b548d87beacc0a0.zip |
Workaround vala bug 604973
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wixl/wix.vala | 14 |
1 files changed, 13 insertions, 1 deletions
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<WixComponent> (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<WixComponentGroup> (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<G> (this) as WixElement).full_path (r); } - } public class WixDirectoryRef: WixElementRef<WixDirectory> { @@ -1057,6 +1065,10 @@ namespace Wixl { typeof (WixComponent), }); } + + public override string full_path (WixResolver r) throws GLib.Error { + return (r.resolve<WixDirectory> (this) as WixElement).full_path (r); + } } class WixRoot: WixElement { |