summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-24 23:43:05 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-24 23:50:31 +0100
commit696c5f4335264dedbdf612ddf73b38d664bc1684 (patch)
tree74c6d42879bc4f19936c51894c6ebf9dadf09676 /tools
parentf48047fc484dc67eb5ce90e68235092312e4c0cf (diff)
downloadmsitools-696c5f4335264dedbdf612ddf73b38d664bc1684.tar.gz
msitools-696c5f4335264dedbdf612ddf73b38d664bc1684.tar.xz
msitools-696c5f4335264dedbdf612ddf73b38d664bc1684.zip
wixl: do not add null/runtime properties
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/builder.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index fc511d9..c89093f 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -280,6 +280,9 @@ namespace Wixl {
}
public override void visit_property (WixProperty prop) throws GLib.Error {
+ if (prop.Value == null)
+ return;
+
db.table_property.add (prop.Id, prop.Value);
}