summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 21:23:43 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 21:23:43 +0300
commit102df1da56cf6bdec1c67682da7858c35a3ae5ab (patch)
treeb44ffc351a62fe0380acc6cff885f7953ae31cb5 /network/connection.c
parent1262c4767c74f084d37c84bec778513f3d862a3e (diff)
Fix remaining places to use dict_append_entry too
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/network/connection.c b/network/connection.c
index 08766db4..6d6ddd03 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -476,18 +476,15 @@ static DBusMessage *connection_get_properties(DBusConnection *conn,
}
connected = nc ? TRUE : FALSE;
- dbus_message_iter_append_dict_entry(&dict, "Connected",
- DBUS_TYPE_BOOLEAN, &connected);
+ dict_append_entry(&dict, "Connected", DBUS_TYPE_BOOLEAN, &connected);
/* Device */
property = nc ? nc->dev : "";
- dbus_message_iter_append_dict_entry(&dict, "Device",
- DBUS_TYPE_STRING, &property);
+ dict_append_entry(&dict, "Device", DBUS_TYPE_STRING, &property);
/* UUID */
property = nc ? bnep_uuid(nc->id) : "";
- dbus_message_iter_append_dict_entry(&dict, "UUID",
- DBUS_TYPE_STRING, &property);
+ dict_append_entry(&dict, "UUID", DBUS_TYPE_STRING, &property);
dbus_message_iter_close_container(&iter, &dict);