summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
Diffstat (limited to 'unit')
-rw-r--r--unit/session-api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/unit/session-api.c b/unit/session-api.c
index c5b7b6ce..27ca2c71 100644
--- a/unit/session-api.c
+++ b/unit/session-api.c
@@ -286,8 +286,10 @@ static DBusMessage *notify_update(DBusConnection *conn,
}
static const GDBusMethodTable notify_methods[] = {
- { "Release", "", "", notify_release },
- { "Update", "a{sv}", "", notify_update },
+ { _GDBUS_METHOD("Release", "", "", NULL, NULL, notify_release) },
+ { _GDBUS_METHOD("Update", "a{sv}", "",
+ GDBUS_ARGS({ "settings", "a{sv}" }), NULL,
+ notify_update) },
{ },
};