mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
spa: bluez: backend-hsphfpd: use dbus_bool_t for DBUS_TYPE_BOOLEAN
This commit is contained in:
parent
36bfd5263f
commit
abe9615fec
1 changed files with 1 additions and 1 deletions
|
|
@ -1036,7 +1036,7 @@ static DBusHandlerResult hsphfpd_parse_endpoint_properties(struct impl *backend,
|
||||||
|
|
||||||
case DBUS_TYPE_BOOLEAN:
|
case DBUS_TYPE_BOOLEAN:
|
||||||
{
|
{
|
||||||
bool value;
|
dbus_bool_t value;
|
||||||
dbus_message_iter_get_basic(&value_i, &value);
|
dbus_message_iter_get_basic(&value_i, &value);
|
||||||
if (spa_streq(key, "Connected"))
|
if (spa_streq(key, "Connected"))
|
||||||
endpoint->connected = value;
|
endpoint->connected = value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue