aboutsummaryrefslogtreecommitdiff
path: root/src/DBusObject.cpp
diff options
context:
space:
mode:
authorPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
committerPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
commit23e46d2de44a3d49063e852a38b020e7407a78bc (patch)
tree7eca15bc1e93dc47d828dc9cef72f66515d287c5 /src/DBusObject.cpp
parentCleaned up the logging a bit, improved server termination status returned fro... (diff)
downloadgobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.gz
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.bz2
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.zip
The GGK server names are no longer in Globals.h but are now configured by ggkStart() allowing an application to change them based on configuration rather than compilation. Power-off-disconnect errors hacked out of existence. A few log lines that were set to trace converted to debug log levels to reduce logspam.
Diffstat (limited to 'src/DBusObject.cpp')
-rw-r--r--src/DBusObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DBusObject.cpp b/src/DBusObject.cpp
index 49d715a..0bfd2d3 100644
--- a/src/DBusObject.cpp
+++ b/src/DBusObject.cpp
@@ -238,7 +238,7 @@ std::string DBusObject::generateIntrospectionXML(int depth) const
}
xml += prefix + "<node name='" + getPathNode().toString() + "'>\n";
- xml += prefix + " <annotation name='" + kServerOwnedName + ".DBusObject.path' value='" + getPath().toString() + "' />\n";
+ xml += prefix + " <annotation name='" + TheServer->getServiceName() + ".DBusObject.path' value='" + getPath().toString() + "' />\n";
for (std::shared_ptr<const DBusInterface> interface : interfaces)
{