diff options
author | João Paulo Rechi Vita <jprvita@openbossa.org> | 2013-08-13 01:53:53 -0300 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-08-15 14:44:54 +0300 |
commit | 53089eeeb6136516a6bf2f43aa479dcdd9decdbc (patch) | |
tree | 348dd896489cc4a9ea5e3832803c4ea1af46069c | |
parent | 12b9a5131f27581daf711c910a32f3736589b69d (diff) | |
download | pulseaudio-53089eeeb6136516a6bf2f43aa479dcdd9decdbc.tar.gz |
bluetooth: Rename shared struct to make it BlueZ 4 specific
-rw-r--r-- | src/modules/bluetooth/bluez4-util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/bluetooth/bluez4-util.c b/src/modules/bluetooth/bluez4-util.c index 29b237bb9..41797836f 100644 --- a/src/modules/bluetooth/bluez4-util.c +++ b/src/modules/bluetooth/bluez4-util.c @@ -1654,7 +1654,7 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *c) { dbus_error_init(&err); - if ((y = pa_shared_get(c, "bluetooth-discovery"))) + if ((y = pa_shared_get(c, "bluez4-discovery"))) return pa_bluetooth_discovery_ref(y); y = pa_xnew0(pa_bluetooth_discovery, 1); @@ -1667,7 +1667,7 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *c) { for (i = 0; i < PA_BLUETOOTH_HOOK_MAX; i++) pa_hook_init(&y->hooks[i], y); - pa_shared_set(c, "bluetooth-discovery", y); + pa_shared_set(c, "bluez4-discovery", y); if (setup_dbus(y) < 0) goto fail; @@ -1781,7 +1781,7 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) { pa_hook_done(&y->hooks[i]); if (y->core) - pa_shared_remove(y->core, "bluetooth-discovery"); + pa_shared_remove(y->core, "bluez4-discovery"); pa_xfree(y); } |