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 /unit | |
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 'unit')
-rw-r--r-- | unit/session-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/session-api.c b/unit/session-api.c index 27ca2c71..14d48cf8 100644 --- a/unit/session-api.c +++ b/unit/session-api.c @@ -286,8 +286,8 @@ static DBusMessage *notify_update(DBusConnection *conn, } static const GDBusMethodTable notify_methods[] = { - { _GDBUS_METHOD("Release", "", "", NULL, NULL, notify_release) }, - { _GDBUS_METHOD("Update", "a{sv}", "", + { GDBUS_METHOD("Release", NULL, NULL, notify_release) }, + { GDBUS_METHOD("Update", GDBUS_ARGS({ "settings", "a{sv}" }), NULL, notify_update) }, { }, |