[gnome-bluetooth/wip/hadess/42.beta: 1/4] lib: Remove notification for wrong property
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/42.beta: 1/4] lib: Remove notification for wrong property
- Date: Tue, 8 Feb 2022 11:44:31 +0000 (UTC)
commit e9431dce5f1bbe8c87b5529fac02ebacaef8ecb2
Author: Bastien Nocera <hadess hadess net>
Date: Tue Feb 8 12:27:58 2022 +0100
lib: Remove notification for wrong property
When the alias changes, we don't need to say that the adapter changed
power status.
lib/bluetooth-client.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 7d32e34a..b5de998f 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -500,7 +500,6 @@ adapter_notify_cb (Adapter1 *adapter,
g_debug ("Property '%s' changed on default adapter '%s'", property, adapter_path);
if (g_strcmp0 (property, "alias") == 0) {
- g_object_notify (G_OBJECT (client), "default-adapter-powered");
g_object_notify (G_OBJECT (client), "default-adapter-name");
} else if (g_strcmp0 (property, "discovering") == 0) {
g_object_notify (G_OBJECT (client), "default-adapter-setup-mode");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]