diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-05-20 02:07:32 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:57 -0700 |
commit | e0d6f9f0cece363fe7397e683eb5ec5d01096f51 (patch) | |
tree | d888ec6696d3e7de2ab9f91b65d7eddd93d86222 /plugins/push-notification.c | |
parent | ce3345e21d96b94999ff1bb1eb613f6eed5b1327 (diff) | |
download | ofono-e0d6f9f0cece363fe7397e683eb5ec5d01096f51.tar.bz2 |
Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
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) }, { } }; |