summaryrefslogtreecommitdiffstats
path: root/gdbus/object.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-05-20 02:07:28 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-20 02:47:57 -0700
commit8e815c100b566e1de1f5e555e0291f6610a08cd7 (patch)
tree1cd5fed4843a0df025ee4544edfa6da9a5d87d1a /gdbus/object.c
parentd1a1a9bcc999ebfcf09aacd9bfd0acff7d1962a8 (diff)
downloadofono-8e815c100b566e1de1f5e555e0291f6610a08cd7.tar.bz2
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) },
{ }
};