summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-18 17:30:09 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-18 15:02:37 -0700
commitc63eb830386932317033acd092a56f9b82755f4c (patch)
tree7777421f8117b0812ec7f8628e1cbfda8286bea8 /plugins
parent9d8544b0a8d45524f3bee1287a98731f1ca289e4 (diff)
downloadconnman-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 'plugins')
-rw-r--r--plugins/nmcompat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/nmcompat.c b/plugins/nmcompat.c
index 680cdf8f..400389b3 100644
--- a/plugins/nmcompat.c
+++ b/plugins/nmcompat.c
@@ -221,16 +221,16 @@ static DBusMessage *property_get(DBusConnection *conn,
}
static const GDBusMethodTable methods[] = {
- { _GDBUS_METHOD("Get", "ss", "v",
+ { GDBUS_METHOD("Get",
GDBUS_ARGS({ "interface", "s" }, { "key", "s" }),
GDBUS_ARGS({ "property", "v" }), property_get) },
{ },
};
static const GDBusSignalTable signals[] = {
- { _GDBUS_SIGNAL("PropertiesChanged", "a{sv}",
+ { GDBUS_SIGNAL("PropertiesChanged",
GDBUS_ARGS({ "properties", "a{sv}" })) },
- { _GDBUS_SIGNAL("StateChanged", "u",
+ { GDBUS_SIGNAL("StateChanged",
GDBUS_ARGS({ "state", "u" })) },
{ },
};