summaryrefslogtreecommitdiffstats
path: root/src/scanner-session/scannersession.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2017-04-16 01:19:16 +0200
committerSebastian Reichel <sre@ring0.de>2017-04-18 22:08:34 +0200
commita211b960a7590910b46c1d59acaeda5e87b5b522 (patch)
treeda94483c1d1719d71777477452d34092df91e215 /src/scanner-session/scannersession.vala
parent2bee9e0eb0f46d41a381e3fc32ff98a192f9493a (diff)
downloadserial-barcode-scanner-a211b960a7590910b46c1d59acaeda5e87b5b522.tar.bz2
all: switch from session to system bus
Diffstat (limited to 'src/scanner-session/scannersession.vala')
-rw-r--r--src/scanner-session/scannersession.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scanner-session/scannersession.vala b/src/scanner-session/scannersession.vala
index 666f2ac..27213c2 100644
--- a/src/scanner-session/scannersession.vala
+++ b/src/scanner-session/scannersession.vala
@@ -32,10 +32,10 @@ public class ScannerSessionImplementation {
public ScannerSessionImplementation() {
try {
- db = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.Database", "/io/mainframe/shopsystem/database");
- dev = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.InputDevice", "/io/mainframe/shopsystem/device");
- cli = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.Cli", "/io/mainframe/shopsystem/cli");
- audio = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.AudioPlayer", "/io/mainframe/shopsystem/audio");
+ db = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Database", "/io/mainframe/shopsystem/database");
+ dev = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.InputDevice", "/io/mainframe/shopsystem/device");
+ cli = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Cli", "/io/mainframe/shopsystem/cli");
+ audio = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.AudioPlayer", "/io/mainframe/shopsystem/audio");
dev.received_barcode.connect(handle_barcode);
cli.received_barcode.connect(handle_barcode);