summaryrefslogtreecommitdiffstats
path: root/src/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/manager.c b/src/manager.c
index ac729dca..18df9946 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -81,13 +81,17 @@ static DBusMessage *manager_get_modems(DBusConnection *conn,
}
static const GDBusMethodTable manager_methods[] = {
- { "GetModems", "", "a(oa{sv})", manager_get_modems },
+ { _GDBUS_METHOD("GetModems", "", "a(oa{sv})",
+ NULL, GDBUS_ARGS({ "modems", "a(oa{sv})" }),
+ manager_get_modems) },
{ }
};
static const GDBusSignalTable manager_signals[] = {
- { "ModemAdded", "oa{sv}" },
- { "ModemRemoved", "o" },
+ { _GDBUS_SIGNAL("ModemAdded", "oa{sv}",
+ GDBUS_ARGS({ "modems", "a(oa{sv})" })) },
+ { _GDBUS_SIGNAL("ModemRemoved", "o",
+ GDBUS_ARGS({ "path", "o" })) },
{ }
};