summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-06-27 14:28:05 +0200
committerBastien Nocera <hadess@hadess.net>2022-06-29 16:06:29 +0200
commit27dd49e7b0a26cb3277e3b12edb3dc94a129bb22 (patch)
treeaa806d813cbd9525b73be31431d57c55cdaaf755
parent235f44dd0fb384f596e8ff0296dae6ae19b0a601 (diff)
downloadgnome-bluetooth-27dd49e7b0a26cb3277e3b12edb3dc94a129bb22.tar.gz
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.
-rw-r--r--lib/bluetooth-client.c1
1 files changed, 1 insertions, 0 deletions
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;