summaryrefslogtreecommitdiffstats
path: root/src/daemon/notificationNodeService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/notificationNodeService.cpp')
-rw-r--r--src/daemon/notificationNodeService.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/daemon/notificationNodeService.cpp b/src/daemon/notificationNodeService.cpp
index 8131f6f..92ec8f2 100644
--- a/src/daemon/notificationNodeService.cpp
+++ b/src/daemon/notificationNodeService.cpp
@@ -28,7 +28,9 @@
#include "notificationNodeService.h"
#include "NotificationsService.h"
-#define NOTIFICATIONS_DBUS_PATH "/org/freedesktop/Notifications"
+
+#define INTROSPECTABLE_DBUS_SRVC "org.freedesktop.DBus.Introspectable"
+
/*
* Root Node
*/
@@ -90,8 +92,8 @@ NotificationsNodeService::NotificationsNodeService(TQT_DBusConnection &conn)
: org::freedesktop::NotificationsNode(),
mConnection(conn)
{
- mInterfaces.insert("org.freedesktop.DBus.Introspectable", this);
- mInterfaces.insert("org.freedesktop.Notifications", new NotificationsService(mConnection));
+ mInterfaces.insert(INTROSPECTABLE_DBUS_SRVC, this);
+ mInterfaces.insert(NOTIFICATIONS_DBUS_SRVC, new NotificationsService(mConnection));
registerObject(mConnection,TQString(NOTIFICATIONS_DBUS_PATH));
}