summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-10 16:06:29 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-11 09:59:55 -0300
commiteeea876d77aba6b555ed0c0959951883d02eaa69 (patch)
tree6b1257a037ff2da99c5bc238cff6b86274819bbd /src/device.c
parent5c6426eff87049c9f8e49877f650772840907239 (diff)
Emit DeviceCreated for temporary devices.
DeviceCreated should be emitted for temporary devices since there could be meaningful information for user applications. This also affects DeviceRemoved since it now should be emitted for temporary devices too.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/device.c b/src/device.c
index f8c5a3fd..20f46efc 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1071,14 +1071,6 @@ proceed:
/* Store the device's profiles in the filesystem */
store_profiles(device);
- g_dbus_emit_signal(req->conn, adapter_get_path(device->adapter),
- ADAPTER_INTERFACE, "DeviceCreated",
- DBUS_TYPE_OBJECT_PATH, &device->path,
- DBUS_TYPE_INVALID);
-
- /* Update device list */
- adapter_update_devices(device->adapter);
-
if (!req->msg)
goto cleanup;