summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-06-09 21:13:58 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-06-09 21:13:58 +0000
commit1f7fe4eccf979527380b4ae9a1c6d7aa0bb8674e (patch)
treec262ce9ecccde1db244f29799ff7909ee45ad435 /hcid/adapter.c
parentf59e2e8ec01d6e725922d2cafbf17fa81cd4c669 (diff)
Remove use of g_dbus_unregister_all_interfaces.
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 9662559b..f3472256 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -4369,6 +4369,11 @@ dbus_bool_t adapter_init(DBusConnection *conn,
NULL, adapter, NULL);
}
+dbus_bool_t adapter_cleanup(DBusConnection *conn, const char *path)
+{
+ return g_dbus_unregister_interface(conn, path, ADAPTER_INTERFACE);
+}
+
const char *major_class_str(uint32_t class)
{
uint8_t index = (class >> 8) & 0x1F;