summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@mainframe.io>2019-11-02 19:19:33 +0100
committerGitHub <noreply@github.com>2019-11-02 19:19:33 +0100
commit4dcf459bfb1f71adf246e74aba242f633331448c (patch)
tree6929ee28731c919843f78ba86b24f8d446cc0b65
parentcc38537c72366821ca6f6b293f6652ffa69b99b4 (diff)
parentaef5eeea295b4ecf3aeab052f19e1a104687a69f (diff)
downloadserial-barcode-scanner-4dcf459bfb1f71adf246e74aba242f633331448c.tar.bz2
Merge pull request #46 from FF-Ibb-PD/bugfix
Fix error introduced by vala update via `string args[]` -> `string[] args`
-rw-r--r--src/pdf-invoice/test.vala2
-rw-r--r--src/pdf-stock/test.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf-invoice/test.vala b/src/pdf-invoice/test.vala
index 5eb7f52..8b4404f 100644
--- a/src/pdf-invoice/test.vala
+++ b/src/pdf-invoice/test.vala
@@ -13,7 +13,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-public static int main(string args[]) {
+public static int main(string[] args) {
PDFInvoice invoice;
try {
diff --git a/src/pdf-stock/test.vala b/src/pdf-stock/test.vala
index 92b6232..478863e 100644
--- a/src/pdf-stock/test.vala
+++ b/src/pdf-stock/test.vala
@@ -13,7 +13,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-public static int main(string args[]) {
+public static int main(string[] args) {
try {
PDFStock stock = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.StockPDF", "/io/mainframe/shopsystem/stockpdf");
var pdfdata = stock.generate(true);