diff options
Diffstat (limited to 'src/radio-settings.c')
-rw-r--r-- | src/radio-settings.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/radio-settings.c b/src/radio-settings.c index 65c20f50..d1b1cc1c 100644 --- a/src/radio-settings.c +++ b/src/radio-settings.c @@ -602,17 +602,17 @@ static DBusMessage *radio_set_property(DBusConnection *conn, DBusMessage *msg, } static const GDBusMethodTable radio_methods[] = { - { _GDBUS_ASYNC_METHOD("GetProperties", "", "a{sv}", - NULL, GDBUS_ARGS({ "properties", "a{sv}" }), - radio_get_properties) }, - { _GDBUS_ASYNC_METHOD("SetProperty", "sv", "", + { GDBUS_ASYNC_METHOD("GetProperties", + NULL, GDBUS_ARGS({ "properties", "a{sv}" }), + radio_get_properties) }, + { GDBUS_ASYNC_METHOD("SetProperty", GDBUS_ARGS({ "property", "s" }, { "value", "v" }), NULL, radio_set_property) }, { } }; static const GDBusSignalTable radio_signals[] = { - { _GDBUS_SIGNAL("PropertyChanged", "sv", + { GDBUS_SIGNAL("PropertyChanged", GDBUS_ARGS({ "name", "s" }, { "value", "v" })) }, { } }; |