From 70f0f80c49b989f346bd3932f26bffcbdb7f75db Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 3 Oct 2007 18:49:14 +0000 Subject: Fix dict signatures. --- hcid/adapter.c | 4 ++-- hcid/dbus-service.c | 2 +- network/connection.c | 2 +- network/server.c | 2 +- serial/manager.c | 2 +- serial/port.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hcid/adapter.c b/hcid/adapter.c index 496d13d3..1ea9990f 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -3300,7 +3300,7 @@ GSList *service_classes_str(uint32_t class) static DBusMethodVTable adapter_methods[] = { { "GetInfo", adapter_get_info, - "", "{sv}" }, + "", "a{sv}" }, { "GetAddress", adapter_get_address, "", "s" }, { "GetVersion", adapter_get_version, @@ -3345,7 +3345,7 @@ static DBusMethodVTable adapter_methods[] = { "s", "" }, { "GetRemoteInfo", adapter_get_remote_info, - "s", "{sv}" }, + "s", "a{sv}" }, { "GetRemoteServiceRecord", adapter_get_remote_svc, "su", "ay" }, { "GetRemoteServiceRecordAsXML", adapter_get_remote_svc_xml, diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 87807c6f..eb86a329 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -647,7 +647,7 @@ static DBusHandlerResult remove_trust(DBusConnection *conn, } static DBusMethodVTable service_methods[] = { - { "GetInfo", get_info, "", "{sv}" }, + { "GetInfo", get_info, "", "a{sv}" }, { "GetIdentifier", get_identifier, "", "s" }, { "GetName", get_name, "", "s" }, { "GetDescription", get_description, "", "s" }, diff --git a/network/connection.c b/network/connection.c index 245d4cc9..821560f8 100644 --- a/network/connection.c +++ b/network/connection.c @@ -622,7 +622,7 @@ static DBusMethodVTable connection_methods[] = { { "CancelConnect", connection_cancel, "", "" }, { "Disconnect", connection_disconnect, "", "" }, { "IsConnected", is_connected, "", "b" }, - { "GetInfo", get_info, "", "{sv}", }, + { "GetInfo", get_info, "", "a{sv}" }, { NULL, NULL, NULL, NULL } }; diff --git a/network/server.c b/network/server.c index 4ac7328f..dd4c816a 100644 --- a/network/server.c +++ b/network/server.c @@ -1111,7 +1111,7 @@ static DBusMethodVTable server_methods[] = { { "GetName", get_name, "", "s" }, { "SetAddressRange", set_address_range, "ss", "" }, { "SetRouting", set_routing, "s", "" }, - { "GetInfo", get_info, "", "{sv}" }, + { "GetInfo", get_info, "", "a{sv}" }, { NULL, NULL, NULL, NULL } }; diff --git a/serial/manager.c b/serial/manager.c index ba9ef112..3d1f3629 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -1631,7 +1631,7 @@ static DBusHandlerResult proxy_set_serial_params(DBusConnection *conn, static DBusMethodVTable proxy_methods[] = { { "Enable", proxy_enable, "", "" }, { "Disable", proxy_disable, "", "" }, - { "GetInfo", proxy_get_info, "", "{sv}" }, + { "GetInfo", proxy_get_info, "", "a{sv}" }, { "SetSerialParameters", proxy_set_serial_params, "syys", "" }, { NULL, NULL, NULL, NULL }, }; diff --git a/serial/port.c b/serial/port.c index 30b1412e..b12a2645 100644 --- a/serial/port.c +++ b/serial/port.c @@ -217,7 +217,7 @@ static DBusMethodVTable port_methods[] = { { "GetAdapter", port_get_adapter, "", "s" }, { "GetName", port_get_name, "", "s" }, { "GetServiceName", port_get_service_name, "", "s" }, - { "GetInfo", port_get_info, "", "{sv}" }, + { "GetInfo", port_get_info, "", "a{sv}" }, { NULL, NULL, NULL, NULL }, }; -- cgit