summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-05-20 02:07:32 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-20 02:47:57 -0700
commite0d6f9f0cece363fe7397e683eb5ec5d01096f51 (patch)
treed888ec6696d3e7de2ab9f91b65d7eddd93d86222 /plugins/hfp_hf.c
parentce3345e21d96b94999ff1bb1eb613f6eed5b1327 (diff)
downloadofono-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/hfp_hf.c')
-rw-r--r--plugins/hfp_hf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 628e034b..16c7d5bd 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -199,10 +199,10 @@ static DBusMessage *hfp_agent_release(DBusConnection *conn,
}
static const GDBusMethodTable agent_methods[] = {
- { _GDBUS_ASYNC_METHOD("NewConnection", "hq", "",
+ { GDBUS_ASYNC_METHOD("NewConnection",
GDBUS_ARGS({ "fd", "h" }, { "version", "q" }),
NULL, hfp_agent_new_connection) },
- { _GDBUS_METHOD("Release", "", "", NULL, NULL, hfp_agent_release) },
+ { GDBUS_METHOD("Release", NULL, NULL, hfp_agent_release) },
{ }
};