diff options
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r-- | plugins/ofono.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c index 29e8f06..fcdb228 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -115,9 +115,11 @@ static DBusMessage *agent_release(DBusConnection *conn, } static const GDBusMethodTable agent_methods[] = { - { "ReceiveNotification", "aya{sv}", "", agent_receive }, - { "Release", "", "", agent_release, - G_DBUS_METHOD_FLAG_NOREPLY }, + { _GDBUS_METHOD("ReceiveNotification", "aya{sv}", "", + GDBUS_ARGS({ "notification", "ay" }, + { "info", "a{sv}" }), + NULL, agent_receive) }, + { _GDBUS_NOREPLY_METHOD("Release", "", "", NULL, NULL, agent_release) }, { } }; |