[gnome-bluetooth/wip/hadess/discovery-state-restart: 5/5] lib: Document internal variable ->discovery_started




commit 481184432ce6d4b789b13cd751e8d810278c9688
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 27 14:28:05 2022 +0200

    lib: Document internal variable ->discovery_started
    
    Can't really explain the purpose of this variable by just naming it, so
    document it in the structure that defines it.

 lib/bluetooth-client.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 458fdfe0..7e0adf4b 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -62,6 +62,7 @@ struct _BluetoothClient {
        GDBusObjectManager *manager;
        GCancellable *cancellable;
        guint num_adapters;
+       /* Prevent concurrent enabling or disabling discoveries */
        gboolean discovery_started;
        UpClient *up_client;
        gboolean bluez_devices_coldplugged;


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