From 27dd49e7b0a26cb3277e3b12edb3dc94a129bb22 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 27 Jun 2022 14:28:05 +0200 Subject: 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; -- cgit v1.2.1