diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-18 19:13:13 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-18 19:13:13 +0000 |
commit | b8695c1e9809e1da1a9ab4a6f155f76a2e2cda55 (patch) | |
tree | 6a284a0d6eae3936341f46a82a3a2a1411ed50e0 /audio | |
parent | 491deff56459cd63650a998fd47f648214b8e94e (diff) |
Emit DeviceRemoved signal when a device gets removed
Diffstat (limited to 'audio')
-rw-r--r-- | audio/manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/manager.c b/audio/manager.c index b4eab0bc..b746484e 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -473,6 +473,12 @@ static DBusHandlerResult am_remove_device(DBusConnection *conn, DBUS_TYPE_STRING, &path, DBUS_TYPE_INVALID); + dbus_connection_emit_signal(conn, AUDIO_MANAGER_PATH, + AUDIO_MANAGER_INTERFACE, + "DeviceRemoved", + DBUS_TYPE_STRING, &path, + DBUS_TYPE_INVALID); + return send_message_and_unref(connection, reply); } |