[msitools] Workaround vala bug 604973
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [msitools] Workaround vala bug 604973
- Date: Mon, 11 Feb 2013 18:12:55 +0000 (UTC)
commit d242cf69f70d1a913644fb596b548d87beacc0a0
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Mon Feb 11 19:08:25 2013 +0100
Workaround vala bug 604973
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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]