[gnome-bluetooth/wip/hadess/cleanups: 1/2] lib: Remove BluetoothCategory enum type




commit ec1564f9bc5a9081bc80b124262e90819c4e5274
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Nov 2 15:18:15 2021 +0100

    lib: Remove BluetoothCategory enum type

 lib/bluetooth-enums.h   | 20 --------------------
 lib/gnome-bluetooth.map |  1 -
 2 files changed, 21 deletions(-)
---
diff --git a/lib/bluetooth-enums.h b/lib/bluetooth-enums.h
index cb04014b..4b9a1ef1 100644
--- a/lib/bluetooth-enums.h
+++ b/lib/bluetooth-enums.h
@@ -34,26 +34,6 @@
  * Enumerations related to Bluetooth.
  **/
 
-/**
- * BluetoothCategory:
- * @BLUETOOTH_CATEGORY_ALL: all devices
- * @BLUETOOTH_CATEGORY_PAIRED: paired devices
- * @BLUETOOTH_CATEGORY_TRUSTED: trusted devices
- * @BLUETOOTH_CATEGORY_NOT_PAIRED_OR_TRUSTED: neither paired, nor trusted devices
- * @BLUETOOTH_CATEGORY_PAIRED_OR_TRUSTED: paired and/or trusted devices
- *
- * The category of a Bluetooth devices.
- **/
-typedef enum {
-       BLUETOOTH_CATEGORY_ALL,
-       BLUETOOTH_CATEGORY_PAIRED,
-       BLUETOOTH_CATEGORY_TRUSTED,
-       BLUETOOTH_CATEGORY_NOT_PAIRED_OR_TRUSTED,
-       BLUETOOTH_CATEGORY_PAIRED_OR_TRUSTED,
-       /* < private > */
-       BLUETOOTH_CATEGORY_NUM_CATEGORIES /*< skip >*/
-} BluetoothCategory;
-
 /**
  * BluetoothType:
  * @BLUETOOTH_TYPE_ANY: any device, or a device of an unknown type
diff --git a/lib/gnome-bluetooth.map b/lib/gnome-bluetooth.map
index 03026940..09d6dd63 100644
--- a/lib/gnome-bluetooth.map
+++ b/lib/gnome-bluetooth.map
@@ -22,7 +22,6 @@ global:
   bluetooth_uuid_to_string;
   bluetooth_send_to_address;
   bluetooth_column_get_type;
-  bluetooth_category_get_type;
   bluetooth_type_get_type;
   bluetooth_status_get_type;
   bluetooth_agent_get_type;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]