summaryrefslogtreecommitdiffstats
path: root/src/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim.c')
-rw-r--r--src/sim.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/sim.c b/src/sim.c
index fd8a7976..d6aba841 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1068,30 +1068,30 @@ static DBusMessage *sim_reset_pin(DBusConnection *conn, DBusMessage *msg,
}
static const GDBusMethodTable sim_methods[] = {
- { _GDBUS_METHOD("GetProperties", "", "a{sv}",
- NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
- sim_get_properties) },
- { _GDBUS_ASYNC_METHOD("SetProperty", "sv", "",
+ { GDBUS_METHOD("GetProperties",
+ NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
+ sim_get_properties) },
+ { GDBUS_ASYNC_METHOD("SetProperty",
GDBUS_ARGS({ "property", "s" }, { "value", "v" }),
NULL, sim_set_property) },
- { _GDBUS_ASYNC_METHOD("ChangePin", "sss", "",
+ { GDBUS_ASYNC_METHOD("ChangePin",
GDBUS_ARGS({ "type", "s" }, { "oldpin", "s" },
{ "newpin", "s" }), NULL,
sim_change_pin) },
- { _GDBUS_ASYNC_METHOD("EnterPin", "ss", "",
+ { GDBUS_ASYNC_METHOD("EnterPin",
GDBUS_ARGS({ "type", "s" }, { "pin", "s" }), NULL,
sim_enter_pin) },
- { _GDBUS_ASYNC_METHOD("ResetPin", "sss", "",
+ { GDBUS_ASYNC_METHOD("ResetPin",
GDBUS_ARGS({ "type", "s" }, { "puk", "s" },
{ "newpin", "s" }), NULL,
sim_reset_pin) },
- { _GDBUS_ASYNC_METHOD("LockPin", "ss", "",
+ { GDBUS_ASYNC_METHOD("LockPin",
GDBUS_ARGS({ "type", "s" }, { "pin", "s" }), NULL,
sim_lock_pin) },
- { _GDBUS_ASYNC_METHOD("UnlockPin", "ss", "",
+ { GDBUS_ASYNC_METHOD("UnlockPin",
GDBUS_ARGS({ "type", "s" }, { "pin", "s" }), NULL,
sim_unlock_pin) },
- { _GDBUS_ASYNC_METHOD("GetIcon", "y", "ay",
+ { GDBUS_ASYNC_METHOD("GetIcon",
GDBUS_ARGS({ "id", "y" }),
GDBUS_ARGS({ "icon", "ay" }),
sim_get_icon) },
@@ -1099,7 +1099,7 @@ static const GDBusMethodTable sim_methods[] = {
};
static const GDBusSignalTable sim_signals[] = {
- { _GDBUS_SIGNAL("PropertyChanged", "sv",
+ { GDBUS_SIGNAL("PropertyChanged",
GDBUS_ARGS({ "name", "s" }, { "value", "v" })) },
{ }
};