[gnome-bluetooth/wip/hadess/discovery-state-restart: 4/4] lib: Document internal variable ->discovery_started
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/discovery-state-restart: 4/4] lib: Document internal variable ->discovery_started
- Date: Wed, 29 Jun 2022 14:06:33 +0000 (UTC)
commit 27dd49e7b0a26cb3277e3b12edb3dc94a129bb22
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]