diff options
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 803bef13..81c4b2da 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -121,15 +121,19 @@ static DBusHandlerResult get_info(DBusConnection *conn, DBUS_TYPE_STRING_AS_STRING DBUS_TYPE_VARIANT_AS_STRING DBUS_DICT_ENTRY_END_CHAR_AS_STRING, &dict); - append_dict_entry(&dict, "identifier", DBUS_TYPE_STRING, &service->ident); + dbus_message_iter_append_dict_entry(&dict, "identifier", + DBUS_TYPE_STRING, &service->ident); - append_dict_entry(&dict, "name", DBUS_TYPE_STRING, &service->name); + dbus_message_iter_append_dict_entry(&dict, "name", + DBUS_TYPE_STRING, &service->name); - append_dict_entry(&dict, "description", DBUS_TYPE_STRING, &service->descr); + dbus_message_iter_append_dict_entry(&dict, "description", + DBUS_TYPE_STRING, &service->descr); running = (service->external || service->bus_name) ? TRUE : FALSE; - append_dict_entry(&dict, "running", DBUS_TYPE_BOOLEAN, &running); + dbus_message_iter_append_dict_entry(&dict, "running", + DBUS_TYPE_BOOLEAN, &running); dbus_message_iter_close_container(&iter, &dict); |