[gnome-bluetooth/wip/hadess/cleanups: 4/7] lib: Remove BluetoothColumn enum type
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/cleanups: 4/7] lib: Remove BluetoothColumn enum type
- Date: Thu, 2 Dec 2021 14:56:12 +0000 (UTC)
commit 95d7fe0ab174e30571a84f7aaafa4af1fa631ce5
Author: Bastien Nocera <hadess hadess net>
Date: Thu Dec 2 12:17:22 2021 +0100
lib: Remove BluetoothColumn enum type
.ci/gbt.suppr | 4 +++
.../gnome-bluetooth-sections.txt | 1 -
.../libgnome-bluetooth/gnome-bluetooth.types | 1 -
lib/bluetooth-enums.h | 40 ----------------------
lib/gnome-bluetooth.map | 1 -
5 files changed, 4 insertions(+), 43 deletions(-)
---
diff --git a/.ci/gbt.suppr b/.ci/gbt.suppr
index b07b3c6c..c00598ea 100644
--- a/.ci/gbt.suppr
+++ b/.ci/gbt.suppr
@@ -6,6 +6,10 @@ drop = yes
symbol_name = bluetooth_category_get_type
drop = yes
+[suppress_function]
+symbol_name = bluetooth_column_get_type
+drop = yes
+
[suppress_function]
symbol_name = bluetooth_type_to_filter_string
drop = yes
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
b/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
index 4f4b0e20..f60d50a7 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
@@ -23,7 +23,6 @@ bluetooth_client_get_type
BLUETOOTH_TYPE_AUDIO
BLUETOOTH_TYPE_INPUT
BluetoothCategory
-BluetoothColumn
BluetoothStatus
BluetoothType
</SECTION>
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
b/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
index 2c5c21b7..a3fd485c 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
@@ -1,4 +1,3 @@
bluetooth_client_get_type
-bluetooth_column_get_type
bluetooth_status_get_type
bluetooth_type_get_type
diff --git a/lib/bluetooth-enums.h b/lib/bluetooth-enums.h
index e1618ea0..863791f4 100644
--- a/lib/bluetooth-enums.h
+++ b/lib/bluetooth-enums.h
@@ -99,46 +99,6 @@ typedef enum {
*/
#define BLUETOOTH_TYPE_AUDIO (BLUETOOTH_TYPE_HEADSET | BLUETOOTH_TYPE_HEADPHONES |
BLUETOOTH_TYPE_OTHER_AUDIO | BLUETOOTH_TYPE_SPEAKERS)
-/**
- * BluetoothColumn:
- * @BLUETOOTH_COLUMN_PROXY: a #GDBusProxy object
- * @BLUETOOTH_COLUMN_PROPERTIES: Used to be #GDBusProxy object for DBus.Properties, now always %NULL
- * @BLUETOOTH_COLUMN_ADDRESS: a string representing a Bluetooth address
- * @BLUETOOTH_COLUMN_ALIAS: a string to use for display (the name of the device, or its address if the name
is not known). Only available for devices.
- * @BLUETOOTH_COLUMN_NAME: a string representing the device or adapter's name
- * @BLUETOOTH_COLUMN_TYPE: the #BluetoothType of the device. Only available for devices.
- * @BLUETOOTH_COLUMN_ICON: a string representing the icon name for the device. Only available for devices.
- * @BLUETOOTH_COLUMN_DEFAULT: whether the adapter is the default one. Only available for adapters.
- * @BLUETOOTH_COLUMN_PAIRED: whether the device is paired to its parent adapter. Only available for devices.
- * @BLUETOOTH_COLUMN_TRUSTED: whether the device is trusted. Only available for devices.
- * @BLUETOOTH_COLUMN_CONNECTED: whether the device is connected. Only available for devices.
- * @BLUETOOTH_COLUMN_DISCOVERING: whether the adapter is discovering. Only available for adapters.
- * @BLUETOOTH_COLUMN_LEGACYPAIRING: whether the device does not support Bluetooth 2.1 Simple Secure Pairing.
Only available for devices.
- * @BLUETOOTH_COLUMN_POWERED: whether the adapter is powered. Only available for adapters.
- * @BLUETOOTH_COLUMN_UUIDS: a string array of human-readable UUIDs.
- *
- * A column identifier to pass to bluetooth_chooser_get_selected_device_info().
- **/
-typedef enum {
- BLUETOOTH_COLUMN_PROXY,
- BLUETOOTH_COLUMN_PROPERTIES,
- BLUETOOTH_COLUMN_ADDRESS,
- BLUETOOTH_COLUMN_ALIAS,
- BLUETOOTH_COLUMN_NAME,
- BLUETOOTH_COLUMN_TYPE,
- BLUETOOTH_COLUMN_ICON,
- BLUETOOTH_COLUMN_DEFAULT,
- BLUETOOTH_COLUMN_PAIRED,
- BLUETOOTH_COLUMN_TRUSTED,
- BLUETOOTH_COLUMN_CONNECTED,
- BLUETOOTH_COLUMN_DISCOVERING,
- BLUETOOTH_COLUMN_LEGACYPAIRING,
- BLUETOOTH_COLUMN_POWERED,
- BLUETOOTH_COLUMN_UUIDS,
-} BluetoothColumn;
-
-#define _BLUETOOTH_NUM_COLUMNS (BLUETOOTH_COLUMN_UUIDS + 1)
-
/**
* BluetoothStatus:
* @BLUETOOTH_STATUS_INVALID: whether the status has been set yet
diff --git a/lib/gnome-bluetooth.map b/lib/gnome-bluetooth.map
index f18a4970..3a117f28 100644
--- a/lib/gnome-bluetooth.map
+++ b/lib/gnome-bluetooth.map
@@ -15,7 +15,6 @@ global:
bluetooth_verify_address;
bluetooth_uuid_to_string;
bluetooth_send_to_address;
- bluetooth_column_get_type;
bluetooth_type_get_type;
bluetooth_status_get_type;
bluetooth_device_get_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]