diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-16 21:23:43 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-16 21:23:43 +0300 |
commit | 102df1da56cf6bdec1c67682da7858c35a3ae5ab (patch) | |
tree | b44ffc351a62fe0380acc6cff885f7953ae31cb5 /audio/sink.c | |
parent | 1262c4767c74f084d37c84bec778513f3d862a3e (diff) |
Fix remaining places to use dict_append_entry too
Diffstat (limited to 'audio/sink.c')
-rw-r--r-- | audio/sink.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/sink.c b/audio/sink.c index 0d273e93..a1034c1a 100644 --- a/audio/sink.c +++ b/audio/sink.c @@ -532,13 +532,11 @@ static DBusMessage *sink_get_properties(DBusConnection *conn, /* Playing */ value = (device->sink->state == AVDTP_STATE_STREAMING); - dbus_message_iter_append_dict_entry(&dict, "Playing", - DBUS_TYPE_BOOLEAN, &value); + dict_append_entry(&dict, "Playing", DBUS_TYPE_BOOLEAN, &value); /* Connected */ value = (device->sink->state >= AVDTP_STATE_CONFIGURED); - dbus_message_iter_append_dict_entry(&dict, "Connected", - DBUS_TYPE_BOOLEAN, &value); + dict_append_entry(&dict, "Connected", DBUS_TYPE_BOOLEAN, &value); dbus_message_iter_close_container(&iter, &dict); |