diff options
author | Henrique Dante de Almeida <hdante@profusion.mobi> | 2012-05-18 17:30:09 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-18 15:02:37 -0700 |
commit | c63eb830386932317033acd092a56f9b82755f4c (patch) | |
tree | 7777421f8117b0812ec7f8628e1cbfda8286bea8 /src/clock.c | |
parent | 9d8544b0a8d45524f3bee1287a98731f1ca289e4 (diff) | |
download | connman-c63eb830386932317033acd092a56f9b82755f4c.tar.gz connman-c63eb830386932317033acd092a56f9b82755f4c.tar.bz2 connman-c63eb830386932317033acd092a56f9b82755f4c.zip |
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/clock.c')
-rw-r--r-- | src/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clock.c b/src/clock.c index 5562e525..e2cc19fa 100644 --- a/src/clock.c +++ b/src/clock.c @@ -309,17 +309,17 @@ static DBusMessage *set_property(DBusConnection *conn, } static const GDBusMethodTable clock_methods[] = { - { _GDBUS_METHOD("GetProperties", "", "a{sv}", + { GDBUS_METHOD("GetProperties", NULL, GDBUS_ARGS({ "properties", "a{sv}" }), get_properties) }, - { _GDBUS_METHOD("SetProperty", "sv", "", + { GDBUS_METHOD("SetProperty", GDBUS_ARGS({ "name", "s" }, { "value", "v" }), NULL, set_property) }, { }, }; static const GDBusSignalTable clock_signals[] = { - { _GDBUS_SIGNAL("PropertyChanged", "sv", + { GDBUS_SIGNAL("PropertyChanged", GDBUS_ARGS({ "name", "s" }, { "value", "v" })) }, { }, }; |