summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-07 18:02:48 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-07 18:02:48 +0000
commit6a1d99dd0014d2212e2586097773f565a658bd3e (patch)
treeb19cb652ebb2595c8fb696154c8b49c0fd05de88
parent1b2d818457e3998bf64ed0dea5080aee73181674 (diff)
Changed Started/Stopped signal interface
-rw-r--r--hcid/dbus-manager.c2
-rw-r--r--hcid/dbus-service.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c
index b4a58369..e9d5822b 100644
--- a/hcid/dbus-manager.c
+++ b/hcid/dbus-manager.c
@@ -239,7 +239,7 @@ static void autostart_reply(DBusPendingCall *pcall, void *udata)
/* Send a signal to indicate that the service started properly */
message = dbus_message_new_signal(dbus_message_get_path(call->msg),
- dbus_message_get_interface(call->msg),
+ "org.bluez.Service",
"Started");
send_message_and_unref(call->conn, message);
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 8f04dfdb..b4207059 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -361,7 +361,7 @@ static void start_reply(DBusPendingCall *call, void *udata)
/* Send a signal to indicate that the service started properly */
message = dbus_message_new_signal(dbus_message_get_path(call_data->msg),
- dbus_message_get_interface(call_data->msg),
+ "org.bluez.Service",
"Started");
send_message_and_unref(call_data->conn, message);
@@ -434,7 +434,7 @@ static void stop_reply(DBusPendingCall *call, void *udata)
/* Send a signal to indicate that the service stopped properly */
message = dbus_message_new_signal(dbus_message_get_path(call_data->msg),
- dbus_message_get_interface(call_data->msg),
+ "org.bluez.Service",
"Stopped");
send_message_and_unref(call_data->conn, message);