libmapper: React to DBus API change
Fix up the sdbus client bindings for the new interface
filter argument.
Change-Id: Iabbe7ecb88ea261409b406e6499c0f6e96d1c25b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/libmapper/mapper.c b/libmapper/mapper.c
index 74326ea..81df03d 100644
--- a/libmapper/mapper.c
+++ b/libmapper/mapper.c
@@ -135,8 +135,10 @@
"GetObject",
async_wait_getobject_callback,
data,
- "s",
- data->path);
+ "sas",
+ data->path,
+ 0,
+ NULL);
if(r < 0) {
async_wait_done(r, wait);
free(data);
@@ -227,8 +229,10 @@
"GetObject",
async_wait_getobject_callback,
data,
- "s",
- wait->objs[i]);
+ "sas",
+ wait->objs[i],
+ 0,
+ NULL);
if(r < 0) {
free(data);
fprintf(stderr, "Error invoking method: %s\n",
@@ -421,6 +425,9 @@
r = sd_bus_message_append(request, "s", obj);
if (r < 0)
goto exit;
+ r = sd_bus_message_append(request, "as", 0, NULL);
+ if (r < 0)
+ goto exit;
while(retry < mapper_busy_retries) {
sd_bus_error_free(&error);