summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-02-02 18:18:34 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-02-04 10:28:03 -0300
commit004b38f0f812b7f92d21267deb6d5990eac982ad (patch)
tree837b54ec66455fd0fa137509624b876a72bcaac2 /src/modules
parent921882de548e17bbdd79bd8eb2c2ce7d36412cf4 (diff)
Prevent changing volume on wrong device.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/bluetooth/module-bluetooth-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c
index de6bded2..d909d70d 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -1068,6 +1068,9 @@ finish:
/* dbus_error_init(&err); */
+/* if (!dbus_message_has_path(msg, u->path)) */
+/* goto done; */
+
/* if (dbus_message_is_signal(msg, "org.bluez.Headset", "PropertyChanged") || */
/* dbus_message_is_signal(msg, "org.bluez.AudioSink", "PropertyChanged")) { */