From 7b133253b380321e6435c4dd4125769ca4d7d9d2 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 2 Feb 2021 23:05:17 +0100 Subject: Fix dbus signature of get_state method Forgot to update signature when switching from double, double to uint32_t, time_t. Also change time_t to int64_t as time_t can have different sizes. --- src/timer_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer_state.cc b/src/timer_state.cc index c836ffd..b7b4309 100644 --- a/src/timer_state.cc +++ b/src/timer_state.cc @@ -223,7 +223,7 @@ public: .implementedAs(fun).withNoReply(); std::function call_fun = std::bind(&TimerStateServer::get_state, this, std::placeholders::_1); - object->registerMethod(kInterfaceName, "get_state", "", "bdd", call_fun); + object->registerMethod(kInterfaceName, "get_state", "", "bux", call_fun); object->registerSignal("started").onInterface(kInterfaceName) .withParameters(); object->registerSignal("stopped").onInterface(kInterfaceName) -- cgit v1.2.3-70-g09d2