diff options
Diffstat (limited to 'PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp')
-rw-r--r-- | PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp b/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp index 8c61c12..d7b65d2 100644 --- a/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp +++ b/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp @@ -78,8 +78,9 @@ void CAmRoutingDbusMessageHandler::initSignal(std::string path, std::string sign { assert(!path.empty()); assert(!signalName.empty()); - std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path + ROUTING_NODE; - mpDBusMessage = dbus_message_new_signal(completePath.c_str(), DBUS_SERVICE_PREFIX, signalName.c_str()); + std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path; + std::string completeInterface = std::string(DBUS_SERVICE_PREFIX) + "." + ROUTING_NODE; + mpDBusMessage = dbus_message_new_signal(completePath.c_str(), completeInterface.c_str(), signalName.c_str()); if (mpDBusMessage == NULL) { |