diff options
Diffstat (limited to 'plugins/nmcompat.c')
-rw-r--r-- | plugins/nmcompat.c | 6 |
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" })) }, { }, }; |