summaryrefslogtreecommitdiffstats
path: root/src/handsfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handsfree.c')
-rw-r--r--src/handsfree.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/handsfree.c b/src/handsfree.c
index e2d47d62..40caf930 100644
--- a/src/handsfree.c
+++ b/src/handsfree.c
@@ -271,20 +271,20 @@ static DBusMessage *handsfree_request_phone_number(DBusConnection *conn,
}
static const GDBusMethodTable handsfree_methods[] = {
- { _GDBUS_METHOD("GetProperties", "", "a{sv}",
- NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
- handsfree_get_properties) },
- { _GDBUS_ASYNC_METHOD("SetProperty", "sv", "",
- GDBUS_ARGS({ "property", "s" }, { "value", "v" }),
- NULL, handsfree_set_property) },
- { _GDBUS_ASYNC_METHOD("RequestPhoneNumber", "", "s",
- NULL, GDBUS_ARGS({ "number", "s" }),
- handsfree_request_phone_number) },
+ { GDBUS_METHOD("GetProperties",
+ NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
+ handsfree_get_properties) },
+ { GDBUS_ASYNC_METHOD("SetProperty",
+ GDBUS_ARGS({ "property", "s" }, { "value", "v" }),
+ NULL, handsfree_set_property) },
+ { GDBUS_ASYNC_METHOD("RequestPhoneNumber",
+ NULL, GDBUS_ARGS({ "number", "s" }),
+ handsfree_request_phone_number) },
{ }
};
static const GDBusSignalTable handsfree_signals[] = {
- { _GDBUS_SIGNAL("PropertyChanged", "sv",
+ { GDBUS_SIGNAL("PropertyChanged",
GDBUS_ARGS({ "name", "s" }, { "value", "v" })) },
{ }
};