diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-05-20 02:07:29 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:57 -0700 |
commit | b3489f2ee86c1d7ace388b43420a32f9a76b019c (patch) | |
tree | 90688955099f3fe63186caa79d9d7bcbb2f82770 /src/cdma-sms.c | |
parent | 8e815c100b566e1de1f5e555e0291f6610a08cd7 (diff) | |
download | ofono-b3489f2ee86c1d7ace388b43420a32f9a76b019c.tar.bz2 |
Convert GDBus methods to use macro helpers
With these macro helpers we can separate in/out arguments and use their
own vector.
Diffstat (limited to 'src/cdma-sms.c')
-rw-r--r-- | src/cdma-sms.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cdma-sms.c b/src/cdma-sms.c index bef214cd..f7a09fed 100644 --- a/src/cdma-sms.c +++ b/src/cdma-sms.c @@ -49,7 +49,8 @@ static const GDBusMethodTable cdma_sms_manager_methods[] = { }; static const GDBusSignalTable cdma_sms_manager_signals[] = { - { "IncomingMessage", "sa{sv}" }, + { _GDBUS_SIGNAL("IncomingMessage", "sa{sv}", + GDBUS_ARGS({ "message", "s"}, { "info", "a{sv}" })) }, /* TODO */ { } }; |