diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-05-20 02:07:32 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:57 -0700 |
commit | e0d6f9f0cece363fe7397e683eb5ec5d01096f51 (patch) | |
tree | d888ec6696d3e7de2ab9f91b65d7eddd93d86222 /src/location-reporting.c | |
parent | ce3345e21d96b94999ff1bb1eb613f6eed5b1327 (diff) | |
download | ofono-e0d6f9f0cece363fe7397e683eb5ec5d01096f51.tar.bz2 |
Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
Diffstat (limited to 'src/location-reporting.c')
-rw-r--r-- | src/location-reporting.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/location-reporting.c b/src/location-reporting.c index 9ea200c2..6a3e03c4 100644 --- a/src/location-reporting.c +++ b/src/location-reporting.c @@ -240,19 +240,19 @@ static DBusMessage *location_reporting_release(DBusConnection *conn, } static const GDBusMethodTable location_reporting_methods[] = { - { _GDBUS_METHOD("GetProperties", "", "a{sv}", - NULL, GDBUS_ARGS({ "properties", "a{sv}" }), - location_reporting_get_properties) }, - { _GDBUS_ASYNC_METHOD("Request", "", "h", - NULL, GDBUS_ARGS({ "fd", "h" }), - location_reporting_request) }, - { _GDBUS_ASYNC_METHOD("Release", "", "", NULL, NULL, + { GDBUS_METHOD("GetProperties", + NULL, GDBUS_ARGS({ "properties", "a{sv}" }), + location_reporting_get_properties) }, + { GDBUS_ASYNC_METHOD("Request", + NULL, GDBUS_ARGS({ "fd", "h" }), + location_reporting_request) }, + { GDBUS_ASYNC_METHOD("Release", NULL, NULL, location_reporting_release) }, { } }; static const GDBusSignalTable location_reporting_signals[] = { - { _GDBUS_SIGNAL("PropertyChanged", "sv", + { GDBUS_SIGNAL("PropertyChanged", GDBUS_ARGS({ "name", "s" }, { "value", "v" })) }, { } }; |