[gnome-bluetooth/wip/hadess/update-docs: 2/5] lib: Update docs for device-removed signal




commit 0293a4743cc9286dd346113b57a5c6c58a83cea1
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 20 16:06:04 2022 +0100

    lib: Update docs for device-removed signal

 lib/bluetooth-client.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index b829984f..5697b3b4 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1045,6 +1045,10 @@ static void bluetooth_client_class_init(BluetoothClientClass *klass)
         *
         * The #BluetoothClient::device-removed signal is launched when a
         * device gets removed from the model.
+        *
+        * Note that #BluetoothClient::device-removed will not be called
+        * for each individual device as the model is cleared when the
+        * #BluetoothClient:default-adapter property changes.
         **/
        signals[DEVICE_REMOVED] =
                g_signal_new ("device-removed",


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