diff options
Diffstat (limited to 'plugins/push-notification.c')
-rw-r--r-- | plugins/push-notification.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/push-notification.c b/plugins/push-notification.c index b916a6a6..f6ca365a 100644 --- a/plugins/push-notification.c +++ b/plugins/push-notification.c @@ -152,11 +152,9 @@ static DBusMessage *push_notification_unregister_agent(DBusConnection *conn, } static const GDBusMethodTable push_notification_methods[] = { - { _GDBUS_METHOD("RegisterAgent", "o", "", - GDBUS_ARGS({ "path", "o" }), NULL, + { GDBUS_METHOD("RegisterAgent", GDBUS_ARGS({ "path", "o" }), NULL, push_notification_register_agent) }, - { _GDBUS_METHOD("UnregisterAgent", "o", "", - GDBUS_ARGS({ "path", "o" }), NULL, + { GDBUS_METHOD("UnregisterAgent", GDBUS_ARGS({ "path", "o" }), NULL, push_notification_unregister_agent) }, { } }; |