diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-16 22:03:25 +0300 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-16 22:03:25 +0300 | 
| commit | c0736ea762bfea95e98c8b9f118b4e5464f2159c (patch) | |
| tree | 1bd3bb6859eccd4ea71dc300b34104496e01cf7c /src/dbus-hci.c | |
| parent | 3a11e84a573785024b11d89ed4f9b06e43b06ca6 (diff) | |
Rename dbus_connection_emit_property_changed to emit_property_changed
Diffstat (limited to 'src/dbus-hci.c')
| -rw-r--r-- | src/dbus-hci.c | 19 | 
1 files changed, 8 insertions, 11 deletions
| diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 36aca477..9ee2e09b 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1028,8 +1028,7 @@ void hcid_dbus_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class)  	dev_path = device_get_path(device); -	dbus_connection_emit_property_changed(connection, dev_path, -				DEVICE_INTERFACE, "Class", +	emit_property_changed(connection, dev_path, DEVICE_INTERFACE, "Class",  				DBUS_TYPE_UINT32, &class);  } @@ -1059,17 +1058,15 @@ void hcid_dbus_remote_name(bdaddr_t *local, bdaddr_t *peer, uint8_t status,  			dev_path = device_get_path(device); -			dbus_connection_emit_property_changed(connection, -						dev_path, DEVICE_INTERFACE, -						"Name", DBUS_TYPE_STRING, &name); +			emit_property_changed(connection, dev_path, +						DEVICE_INTERFACE, "Name", +						DBUS_TYPE_STRING, &name);  			if (read_device_alias(srcaddr, dstaddr, -						alias, sizeof(alias)) < 1) { - -				dbus_connection_emit_property_changed(connection, -						dev_path, DEVICE_INTERFACE, -						"Alias", DBUS_TYPE_STRING, &name); -			} +						alias, sizeof(alias)) < 1) +				emit_property_changed(connection, dev_path, +						DEVICE_INTERFACE, "Alias", +						DBUS_TYPE_STRING, &name);  		}  	} | 
