summaryrefslogtreecommitdiffstats
path: root/src/web
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/web
parent2bee9e0eb0f46d41a381e3fc32ff98a192f9493a (diff)
downloadserial-barcode-scanner-a211b960a7590910b46c1d59acaeda5e87b5b522.tar.bz2
all: switch from session to system bus
Diffstat (limited to 'src/web')
-rw-r--r--src/web/main.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/main.vala b/src/web/main.vala
index 86caea5..c0fd77f 100644
--- a/src/web/main.vala
+++ b/src/web/main.vala
@@ -26,9 +26,9 @@ public static int main(string[] args) {
uint port = 8080;
try {
- db = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.Database", "/io/mainframe/shopsystem/database");
- pgp = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.PGP", "/io/mainframe/shopsystem/pgp");
- cfg = Bus.get_proxy_sync(BusType.SESSION, "io.mainframe.shopsystem.Config", "/io/mainframe/shopsystem/config");
+ db = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Database", "/io/mainframe/shopsystem/database");
+ pgp = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.PGP", "/io/mainframe/shopsystem/pgp");
+ cfg = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Config", "/io/mainframe/shopsystem/config");
templatedir = cfg.get_string("WEB", "filepath");
port = cfg.get_integer("WEB", "port");