summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-11 19:08:25 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-11 19:12:28 +0100
commitd242cf69f70d1a913644fb596b548d87beacc0a0 (patch)
tree9ee7e4155c6d99347ec50f9b7058bcb7f511fbcb /tools
parent01f73db148ee323b31bdb90f7316ec08b38215ad (diff)
downloadmsitools-d242cf69f70d1a913644fb596b548d87beacc0a0.tar.gz
msitools-d242cf69f70d1a913644fb596b548d87beacc0a0.tar.xz
msitools-d242cf69f70d1a913644fb596b548d87beacc0a0.zip
Workaround vala bug 604973
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/wix.vala14
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 {