summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-12-17 13:14:22 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-12-17 13:14:22 +0100
commitebf9446aa9abff8c7d0bb624f1881196c1efe07b (patch)
treeb05049cdeca050cbdbfd79d110e0fdf8fe235a88 /tools
parent6e467b5016f54bb26d079a9b55cfd740abc1c97b (diff)
downloadmsitools-ebf9446aa9abff8c7d0bb624f1881196c1efe07b.zip
msitools-ebf9446aa9abff8c7d0bb624f1881196c1efe07b.tar.gz
msitools-ebf9446aa9abff8c7d0bb624f1881196c1efe07b.tar.xz
wixl: fix some vala warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/msi.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/wixl/msi.vala b/tools/wixl/msi.vala
index ee61dd6..f1d45bf 100644
--- a/tools/wixl/msi.vala
+++ b/tools/wixl/msi.vala
@@ -560,7 +560,7 @@ namespace Wixl {
sql_insert = "INSERT INTO `ServiceControl` (`ServiceControl`, `Name`, `Event`, `Arguments`, `Wait`, `Component_`) VALUES (?, ?, ?, ?, ?, ?)";
}
- public void add (string ServiceControl, string Name, int Event, string? Arguments = null, bool? Wait = null, string Component) throws GLib.Error {
+ public void add (string ServiceControl, string Name, int Event, string? Arguments, bool? Wait, string Component) throws GLib.Error {
var rec = new Libmsi.Record (6);
if (!rec.set_string (1, ServiceControl) ||
!rec.set_string (2, Name) ||
@@ -581,7 +581,7 @@ namespace Wixl {
sql_insert = "INSERT INTO `ServiceInstall` (`ServiceInstall`, `Name`, `DisplayName`, `ServiceType`, `StartType`, `ErrorControl`, `LoadOrderGroup`, `Dependencies`, `StartName`, `Password`, `Arguments`, `Component_`, `Description`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
}
- public void add (string ServiceInstall, string Name, string? DisplayName = null, int ServiceType, int StartType, int ErrorControl, string? LoadOrderGroup = null, string? Dependencies = null, string? StartName = null, string? Password = null, string? Arguments = null, string Component, string? Description = null) throws GLib.Error {
+ public void add (string ServiceInstall, string Name, string? DisplayName, int ServiceType, int StartType, int ErrorControl, string? LoadOrderGroup, string? Dependencies, string? StartName, string? Password, string? Arguments, string Component, string? Description = null) throws GLib.Error {
var rec = new Libmsi.Record (13);
if (!rec.set_string (1, ServiceInstall) ||
!rec.set_string (2, Name) ||
@@ -917,4 +917,4 @@ namespace Wixl {
}
}
-} // Wixl \ No newline at end of file
+} // Wixl