summaryrefslogtreecommitdiff
path: root/gdbus/object.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-05-18 17:30:05 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-18 15:02:37 -0700
commit77a4d3fa07101334b45c1e8d84b327effc2ff910 (patch)
tree40eb4225974a92a1159edc3763ddc1d3497b4b52 /gdbus/object.c
parentad7d6a6b48b298d96bc471c64aff2bd20c9efff2 (diff)
downloadconnman-77a4d3fa07101334b45c1e8d84b327effc2ff910.tar.gz
connman-77a4d3fa07101334b45c1e8d84b327effc2ff910.tar.bz2
connman-77a4d3fa07101334b45c1e8d84b327effc2ff910.zip
gdbus: add and use helpers for table declarations
Diffstat (limited to 'gdbus/object.c')
-rw-r--r--gdbus/object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 0ef6c80e..2ddc574d 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -497,7 +497,8 @@ done:
}
static const GDBusMethodTable introspect_methods[] = {
- { "Introspect", "", "s", introspect },
+ { _GDBUS_METHOD("Introspect", "", "s", NULL,
+ GDBUS_ARGS({ "xml", "s" }), introspect) },
{ }
};