From a211b960a7590910b46c1d59acaeda5e87b5b522 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 16 Apr 2017 01:19:16 +0200 Subject: all: switch from session to system bus --- src/scanner-session/scannersession.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scanner-session/scannersession.vala') 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); -- cgit v1.2.3