From b3489f2ee86c1d7ace388b43420a32f9a76b019c Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sun, 20 May 2012 02:07:29 -0300 Subject: Convert GDBus methods to use macro helpers With these macro helpers we can separate in/out arguments and use their own vector. --- src/cdma-netreg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cdma-netreg.c') diff --git a/src/cdma-netreg.c b/src/cdma-netreg.c index 7b63cd7c..9246f0cb 100644 --- a/src/cdma-netreg.c +++ b/src/cdma-netreg.c @@ -108,7 +108,9 @@ static DBusMessage *network_get_properties(DBusConnection *conn, } static const GDBusMethodTable cdma_netreg_manager_methods[] = { - { "GetProperties", "", "a{sv}", network_get_properties }, + { _GDBUS_METHOD("GetProperties", "", "a{sv}", + NULL, GDBUS_ARGS({ "properties", "a{sv}" }), + network_get_properties) }, { } }; -- cgit v1.2.3