[gnome-bluetooth/wip/hadess/bluetoothd-restart] lib: Document internal variable ->discovery_started
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/bluetoothd-restart] lib: Document internal variable ->discovery_started
- Date: Mon, 27 Jun 2022 12:29:17 +0000 (UTC)
commit 0a6314e7e8a7ea2d1694334375ce8d9835876199
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]