From 675e6b5eb57b07c25df4d7feda202af26099ac83 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Tue, 11 Dec 2012 20:06:21 -0800 Subject: [PATCH] introspection: add missing element-type annotations --- telepathy-glib/capabilities.c | 4 ++-- telepathy-glib/client-channel-factory.c | 2 +- telepathy-glib/dbus.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/telepathy-glib/capabilities.c b/telepathy-glib/capabilities.c index ae1d34f..ae59242 100644 --- a/telepathy-glib/capabilities.c +++ b/telepathy-glib/capabilities.c @@ -84,8 +84,8 @@ struct _TpCapabilitiesPrivate { * * * - * Returns: (transfer none): the same #GPtrArray as the - * #TpCapabilities:channel-classes property + * Returns: (transfer none) (element-type GLib.ValueArray): the same + * #GPtrArray as the #TpCapabilities:channel-classes property * * Since: 0.11.3 */ diff --git a/telepathy-glib/client-channel-factory.c b/telepathy-glib/client-channel-factory.c index c5d3cf4..1e67ca8 100644 --- a/telepathy-glib/client-channel-factory.c +++ b/telepathy-glib/client-channel-factory.c @@ -139,7 +139,7 @@ tp_client_channel_factory_create_channel (TpClientChannelFactory *self, * it expected an object instance as its first parameter, but the type of the * parameter was the type of the interface vtable. * - * Returns: (transfer full): a newly allocated #GArray + * Returns: (transfer full) (element-type GLib.Quark): a newly allocated #GArray * * Since: 0.13.3 */ diff --git a/telepathy-glib/dbus.c b/telepathy-glib/dbus.c index 04ba84b..676560d 100644 --- a/telepathy-glib/dbus.c +++ b/telepathy-glib/dbus.c @@ -881,7 +881,8 @@ tp_asv_set_boolean (GHashTable *asv, * g_boxed_copy (DBUS_TYPE_G_UCHAR_ARRAY, ...) if you need to keep * it for longer. * - * Returns: (transfer none) (allow-none): the string value of @key, or %NULL + * Returns: (transfer none) (allow-none) (element-type guint8): the + * string value of @key, or %NULL * Since: 0.7.9 */ const GArray * -- 1.7.11.7