[gnome-bluetooth] lib: Drop BluetoothChooser and related widgets



commit d98cccae49e0c4b1704dc078fa02820ead368305
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Oct 26 21:43:26 2021 -0300

    lib: Drop BluetoothChooser and related widgets
    
    Drop BluetoothChooser, BluetoothChooserButton, BluetoothChooserCombo,
    and the tightly related BluetoothFilterWidget, from the repository.
    This is possible since the previous commit removed the last usage
    of this API from bluetooth-sendto.
    
    See: https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/issues/96

 .../libgnome-bluetooth/gnome-bluetooth-docs.sgml   |    3 -
 .../gnome-bluetooth-sections.txt                   |   57 -
 .../libgnome-bluetooth/gnome-bluetooth.types       |    3 -
 lib/bluetooth-chooser-button.c                     |  411 -------
 lib/bluetooth-chooser-button.h                     |   46 -
 lib/bluetooth-chooser-combo.c                      |  351 ------
 lib/bluetooth-chooser-combo.h                      |   33 -
 lib/bluetooth-chooser-private.h                    |   32 -
 lib/bluetooth-chooser.c                            | 1168 --------------------
 lib/bluetooth-chooser.h                            |   79 --
 lib/bluetooth-filter-widget.c                      |  462 --------
 lib/bluetooth-filter-widget.h                      |   38 -
 lib/gnome-bluetooth.map                            |   24 -
 lib/meson.build                                    |    9 -
 lib/test-deviceselection.c                         |  433 --------
 15 files changed, 3149 deletions(-)
---
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml 
b/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
index 06a4cdf6..7cdd264f 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
@@ -18,9 +18,6 @@
   <chapter>
     <title>API Reference</title>
     <xi:include href="xml/bluetooth-client.xml"/>
-    <xi:include href="xml/bluetooth-chooser.xml"/>
-    <xi:include href="xml/bluetooth-chooser-button.xml"/>
-    <xi:include href="xml/bluetooth-chooser-combo.xml"/>
     <xi:include href="xml/bluetooth-enums.xml"/>
     <xi:include href="xml/bluetooth-utils.xml"/>
   </chapter>
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt 
b/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
index 6272230e..9fd31bd3 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth-sections.txt
@@ -1,60 +1,3 @@
-<SECTION>
-<FILE>bluetooth-chooser</FILE>
-<TITLE>BluetoothChooser</TITLE>
-BluetoothChooser
-bluetooth_chooser_dump_selected_device
-bluetooth_chooser_get_scrolled_window
-bluetooth_chooser_get_selected_device
-bluetooth_chooser_get_selected_device_icon
-bluetooth_chooser_get_selected_device_info
-bluetooth_chooser_get_selected_device_is_connected
-bluetooth_chooser_get_selected_device_name
-bluetooth_chooser_get_selected_device_type
-bluetooth_chooser_new
-bluetooth_chooser_start_discovery
-bluetooth_chooser_stop_discovery
-<SUBSECTION Standard>
-BluetoothChooserClass
-BLUETOOTH_CHOOSER
-BLUETOOTH_CHOOSER_CLASS
-BLUETOOTH_GET_CHOOSER_CLASS
-BLUETOOTH_IS_CHOOSER
-BLUETOOTH_IS_CHOOSER_CLASS
-BLUETOOTH_TYPE_CHOOSER
-bluetooth_chooser_get_type
-</SECTION>
-
-<SECTION>
-<FILE>bluetooth-chooser-button</FILE>
-<TITLE>BluetoothChooserButton</TITLE>
-BluetoothChooserButton
-bluetooth_chooser_button_available
-bluetooth_chooser_button_new
-<SUBSECTION Standard>
-BluetoothChooserButtonClass
-BLUETOOTH_CHOOSER_BUTTON
-BLUETOOTH_IS_CHOOSER_BUTTON
-BLUETOOTH_TYPE_CHOOSER_BUTTON
-bluetooth_chooser_button_get_type
-</SECTION>
-
-<SECTION>
-<FILE>bluetooth-chooser-combo</FILE>
-<TITLE>BluetoothChooserCombo</TITLE>
-BLUETOOTH_CHOOSER_COMBO_FIRST_DEVICE
-BluetoothChooserCombo
-bluetooth_chooser_combo_new
-<SUBSECTION Standard>
-BluetoothChooserComboClass
-BLUETOOTH_CHOOSER_COMBO
-BLUETOOTH_GET_CHOOSER_COMBO_CLASS
-BLUETOOTH_IS_CHOOSER_COMBO
-BLUETOOTH_IS_CHOOSER_COMBO_CLASS
-BLUETOOTH_TYPE_CHOOSER_COMBO
-BluetoothChooserComboPrivate
-bluetooth_chooser_combo_get_type
-</SECTION>
-
 <SECTION>
 <FILE>bluetooth-client</FILE>
 <TITLE>BluetoothClient</TITLE>
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth.types 
b/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
index 4747e512..7c302051 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth.types
@@ -1,7 +1,4 @@
 bluetooth_category_get_type
-bluetooth_chooser_button_get_type
-bluetooth_chooser_combo_get_type
-bluetooth_chooser_get_type
 bluetooth_client_get_type
 bluetooth_column_get_type
 bluetooth_status_get_type
diff --git a/lib/gnome-bluetooth.map b/lib/gnome-bluetooth.map
index 95bc83dc..03026940 100644
--- a/lib/gnome-bluetooth.map
+++ b/lib/gnome-bluetooth.map
@@ -1,23 +1,5 @@
 {
 global:
-  bluetooth_chooser_dump_selected_device;
-  bluetooth_chooser_get_type;
-  bluetooth_chooser_new;
-  bluetooth_chooser_set_title;
-  bluetooth_chooser_get_selected_device;
-  bluetooth_chooser_get_selected_device_info;
-  bluetooth_chooser_get_selected_device_name;
-  bluetooth_chooser_get_selected_device_icon;
-  bluetooth_chooser_get_selected_device_type;
-  bluetooth_chooser_get_selected_device_is_connected;
-  bluetooth_chooser_get_model;
-  bluetooth_chooser_get_treeview;
-  bluetooth_chooser_get_scrolled_window;
-  bluetooth_chooser_start_discovery;
-  bluetooth_chooser_stop_discovery;
-  bluetooth_chooser_button_get_type;
-  bluetooth_chooser_button_new;
-  bluetooth_chooser_button_available;
   bluetooth_client_setup_device;
   bluetooth_client_setup_device_finish;
   bluetooth_client_cancel_setup_device;
@@ -43,12 +25,6 @@ global:
   bluetooth_category_get_type;
   bluetooth_type_get_type;
   bluetooth_status_get_type;
-  bluetooth_filter_widget_new;
-  bluetooth_filter_widget_set_title;
-  bluetooth_filter_widget_get_type;
-  bluetooth_filter_widget_bind_filter;
-  bluetooth_chooser_combo_get_type;
-  bluetooth_chooser_combo_new;
   bluetooth_agent_get_type;
   bluetooth_agent_error_get_type;
   bluetooth_agent_new;
diff --git a/lib/meson.build b/lib/meson.build
index 91e176ff..5ce62650 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -4,10 +4,6 @@ enum_headers = files('bluetooth-enums.h')
 
 headers = enum_headers + files(
   'bluetooth-client.h',
-  'bluetooth-chooser.h',
-  'bluetooth-chooser-button.h',
-  'bluetooth-chooser-combo.h',
-  'bluetooth-filter-widget.h',
   'bluetooth-settings-widget.h',
   'bluetooth-utils.h',
 )
@@ -19,12 +15,8 @@ install_headers(
 
 sources = files(
   'bluetooth-agent.c',
-  'bluetooth-chooser.c',
-  'bluetooth-chooser-button.c',
-  'bluetooth-chooser-combo.c',
   'bluetooth-client.c',
   'bluetooth-hdy-column.c',
-  'bluetooth-filter-widget.c',
   'bluetooth-pairing-dialog.c',
   'bluetooth-settings-obexpush.c',
   'bluetooth-settings-row.c',
@@ -157,7 +149,6 @@ test_names = [
   'test-agent',
   'test-class',
   'test-client',
-  'test-deviceselection',
   'test-pairing-dialog',
   'test-pin',
   'test-settings',


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