summaryrefslogtreecommitdiffstats
path: root/src/pdf-stock/pdf-stock.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-06-28 01:03:02 +0200
committerSebastian Reichel <sre@ring0.de>2018-06-28 01:53:40 +0200
commitf466538a3527cd539c732d3abee481fa7a34fc2f (patch)
tree0a244c5b3594ee42d25744bdbdd3f0a44595c87b /src/pdf-stock/pdf-stock.vala
parentc70d626e473c8cbdbd87125a256ca221c0c3fa23 (diff)
downloadserial-barcode-scanner-f466538a3527cd539c732d3abee481fa7a34fc2f.tar.bz2
all: Add DBusError to avoid warnings with valac 0.40
Diffstat (limited to 'src/pdf-stock/pdf-stock.vala')
-rw-r--r--src/pdf-stock/pdf-stock.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf-stock/pdf-stock.vala b/src/pdf-stock/pdf-stock.vala
index 1d16e4a..2edba88 100644
--- a/src/pdf-stock/pdf-stock.vala
+++ b/src/pdf-stock/pdf-stock.vala
@@ -154,7 +154,7 @@ public class StockPDF {
return Cairo.Status.SUCCESS;
}
- public uint8[] generate() {
+ public uint8[] generate() throws DBusError, IOError {
data = null;
var surface = new Cairo.PdfSurface.for_stream(pdf_write, a4w, a4h);