summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-08 12:27:58 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-08 12:28:50 +0100
commite9431dce5f1bbe8c87b5529fac02ebacaef8ecb2 (patch)
tree92f468e17daccd0a16d3e82d49d71a2e3a8b7433 /lib
parent3c9374fc353a558cdaf8b148c1b987c689df2523 (diff)
downloadgnome-bluetooth-e9431dce5f1bbe8c87b5529fac02ebacaef8ecb2.tar.gz
lib: Remove notification for wrong property
When the alias changes, we don't need to say that the adapter changed power status.
Diffstat (limited to 'lib')
-rw-r--r--lib/bluetooth-client.c1
1 files changed, 0 insertions, 1 deletions
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");