summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/device.c b/src/device.c
index e94b2227..71bfea56 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3475,18 +3475,6 @@ void btd_device_unref(struct btd_device *device)
g_free(path);
}
-void device_set_class(struct btd_device *device, uint32_t value)
-{
- const char *icon = class_to_icon(value);
-
- g_dbus_emit_property_changed(btd_get_dbus_connection(), device->path,
- DEVICE_INTERFACE, "Class");
-
- if (icon)
- g_dbus_emit_property_changed(btd_get_dbus_connection(),
- device->path, DEVICE_INTERFACE, "Icon");
-}
-
int device_get_appearance(struct btd_device *device, uint16_t *value)
{
uint16_t app;