From e0d6f9f0cece363fe7397e683eb5ec5d01096f51 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sun, 20 May 2012 02:07:32 -0300 Subject: Do not set signature and reply in GDBus tables Use GDBUS_* macros, so signature and reply fields are not set in each method/signal. --- src/call-volume.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/call-volume.c') diff --git a/src/call-volume.c b/src/call-volume.c index 22b505c5..ddb8b773 100644 --- a/src/call-volume.c +++ b/src/call-volume.c @@ -302,17 +302,17 @@ static DBusMessage *cv_set_property(DBusConnection *conn, DBusMessage *msg, } static const GDBusMethodTable cv_methods[] = { - { _GDBUS_METHOD("GetProperties", "", "a{sv}", + { GDBUS_METHOD("GetProperties", NULL, GDBUS_ARGS({ "properties", "a{sv}" }), cv_get_properties) }, - { _GDBUS_ASYNC_METHOD("SetProperty", "sv", "", - GDBUS_ARGS({ "property", "s" }, { "value", "v" }), - NULL, cv_set_property) }, + { GDBUS_ASYNC_METHOD("SetProperty", + GDBUS_ARGS({ "property", "s" }, { "value", "v" }), + NULL, cv_set_property) }, { } }; static const GDBusSignalTable cv_signals[] = { - { _GDBUS_SIGNAL("PropertyChanged", "sv", + { GDBUS_SIGNAL("PropertyChanged", GDBUS_ARGS({ "property", "s" }, { "value", "v" })) }, { } }; -- cgit v1.2.3