diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-04-28 22:32:32 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-04-28 22:32:32 +0200 |
commit | 21273de2382f07ca2c799fb800de189608bb5529 (patch) | |
tree | a7ea2cf5ad7cef6fa74f44d1bbb3c62a0a52d1d6 /src/pdf-invoice/pdf-invoice.vala | |
parent | 36cf19638ec05693c88bd6b984e3691769c85803 (diff) | |
download | serial-barcode-scanner-21273de2382f07ca2c799fb800de189608bb5529.tar.bz2 |
fix compilation with vala 0.16
Diffstat (limited to 'src/pdf-invoice/pdf-invoice.vala')
-rw-r--r-- | src/pdf-invoice/pdf-invoice.vala | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/pdf-invoice/pdf-invoice.vala b/src/pdf-invoice/pdf-invoice.vala index 8a6242d..7e02b07 100644 --- a/src/pdf-invoice/pdf-invoice.vala +++ b/src/pdf-invoice/pdf-invoice.vala @@ -632,16 +632,15 @@ public class InvoicePDF { } public void clear() { - invoice_date = 0; - invoice_id = ""; - invoice_recipient = { - "", - "", - "", - "", - "", - "", - }; - invoice_entries = null; + invoice_date = 0; + invoice_id = ""; + invoice_recipient.firstname = ""; + invoice_recipient.lastname = ""; + invoice_recipient.street = ""; + invoice_recipient.postal_code = ""; + invoice_recipient.city = ""; + invoice_recipient.gender = ""; + + invoice_entries = null; } } |