From c47dd9ead18d42c275130834d79a29895343abd9 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 2 Jul 2014 11:42:34 +0200 Subject: [PATCH 1/1] doc: fix doc for DBUS_TYPE_G_UCHAR_ARRAY to mention that GByteArray is compatible A GByteArray is implemented as GArray with element size 1. It is therefore completly compatible with DBUS_TYPE_G_UCHAR_ARRAY. Fix the documentation which claimed otherwise. Signed-off-by: Thomas Haller --- dbus/dbus-gtype-specialized.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-gtype-specialized.c b/dbus/dbus-gtype-specialized.c index c1cc04a..8da9a94 100644 --- a/dbus/dbus-gtype-specialized.c +++ b/dbus/dbus-gtype-specialized.c @@ -113,8 +113,8 @@ * Expands to a function call returning the #GType of a #GArray of #guchar * (corresponding to the D-Bus signature "ay"). * - * Note that this is not the same thing as a #GByteArray! dbus-glib does not - * know about the #GByteArray type. + * Note that #GByteArray is implemented using #GArray and therefore a compatible + * type. */ /** -- 1.9.3