summaryrefslogtreecommitdiffstats
path: root/src/manager.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 /src/manager.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 'src/manager.c')
-rw-r--r--src/manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/manager.c b/src/manager.c
index 18df9946..393b6893 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -81,16 +81,16 @@ static DBusMessage *manager_get_modems(DBusConnection *conn,
}
static const GDBusMethodTable manager_methods[] = {
- { _GDBUS_METHOD("GetModems", "", "a(oa{sv})",
+ { GDBUS_METHOD("GetModems",
NULL, GDBUS_ARGS({ "modems", "a(oa{sv})" }),
manager_get_modems) },
{ }
};
static const GDBusSignalTable manager_signals[] = {
- { _GDBUS_SIGNAL("ModemAdded", "oa{sv}",
+ { GDBUS_SIGNAL("ModemAdded",
GDBUS_ARGS({ "modems", "a(oa{sv})" })) },
- { _GDBUS_SIGNAL("ModemRemoved", "o",
+ { GDBUS_SIGNAL("ModemRemoved",
GDBUS_ARGS({ "path", "o" })) },
{ }
};