summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bluetooth-client-private.h2
-rw-r--r--lib/bluetooth-client.c28
2 files changed, 0 insertions, 30 deletions
diff --git a/lib/bluetooth-client-private.h b/lib/bluetooth-client-private.h
index e83ea3d1..28478ffa 100644
--- a/lib/bluetooth-client-private.h
+++ b/lib/bluetooth-client-private.h
@@ -52,6 +52,4 @@ gboolean bluetooth_client_cancel_setup_device_finish (BluetoothClient *client,
gboolean bluetooth_client_set_trusted(BluetoothClient *client,
const char *device, gboolean trusted);
-gboolean bluetooth_client_get_connectable(const char **uuids);
-
GDBusProxy *_bluetooth_client_get_default_adapter (BluetoothClient *client);
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 652d6777..b829984f 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -82,19 +82,6 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-static const char *connectable_uuids[] = {
- "HSP",
- "AudioSource",
- "AudioSink",
- "A/V_RemoteControlTarget",
- "A/V_RemoteControl",
- "Headset_-_AG",
- "Handsfree",
- "HandsfreeAudioGateway",
- "HumanInterfaceDeviceService",
- "Human Interface Device",
-};
-
G_DEFINE_TYPE(BluetoothClient, bluetooth_client, G_TYPE_OBJECT)
static BluetoothDevice *
@@ -145,21 +132,6 @@ device_list_uuids (const gchar * const *uuids)
return (char **) g_ptr_array_free (ret, FALSE);
}
-gboolean
-bluetooth_client_get_connectable(const char **uuids)
-{
- int i, j;
-
- for (i = 0; uuids && uuids[i] != NULL; i++) {
- for (j = 0; j < G_N_ELEMENTS (connectable_uuids); j++) {
- if (g_str_equal (connectable_uuids[j], uuids[i]))
- return TRUE;
- }
- }
-
- return FALSE;
-}
-
static const char *
phone_oui_to_icon_name (const char *bdaddr)
{