summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-16 08:30:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-16 08:30:59 +0000
commitd47242d2f0ff67dd00c5fe3c48dae902486d7b5a (patch)
tree5c507181afb4639c40addcfdb5195484c13729d1 /hcid/dbus-service.c
parent5a394b7317a2bb3437c88a955319107da4521dcd (diff)
Use ServiceAdded and ServiceRemoved signals
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 5ccad203..d837308c 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -754,7 +754,7 @@ int register_service(char *path, struct service *service)
services = g_slist_append(services, strdup(obj_path));
signal = dbus_message_new_signal(BASE_PATH, MANAGER_INTERFACE,
- "ServiceRegistered");
+ "ServiceAdded");
if (!signal)
return -ENOMEM;
@@ -806,7 +806,7 @@ static void release_service(struct service *service)
DBusMessage *signal;
signal = dbus_message_new_signal(BASE_PATH, MANAGER_INTERFACE,
- "ServiceUnregistered");
+ "ServiceRemoved");
if (signal) {
dbus_message_append_args(signal,
DBUS_TYPE_STRING, &service->object_path,