summaryrefslogtreecommitdiff
path: root/src/dbus-common.h
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-08-05 19:55:00 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:49 -0400
commitd5e700051b1263b2028331d41d60de02a5a6f90e (patch)
tree4af996e317c7361aee75ea3dac5d93ab0478208b /src/dbus-common.h
parentc2b9e70040defcf6105e5704e4f0a6b16072193a (diff)
downloadbluez-d5e700051b1263b2028331d41d60de02a5a6f90e.tar.gz
Fix append_variant_array() to take a number of elements
When appending a byte array, for example, we must provide the number of elements to the underlying functions, as the restriction that the last element is NULL cannot be used. This updates all the callers to use the new parameter.
Diffstat (limited to 'src/dbus-common.h')
-rw-r--r--src/dbus-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-common.h b/src/dbus-common.h
index c1d926456..e17f1a62d 100644
--- a/src/dbus-common.h
+++ b/src/dbus-common.h
@@ -43,4 +43,4 @@ dbus_bool_t emit_array_property_changed(DBusConnection *conn,
const char *path,
const char *interface,
const char *name,
- int type, void *value);
+ int type, void *value, int num);