summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Mjelva <morten.mjelva@gmail.com>2010-04-29 14:14:47 +0200
committerMorten Mjelva <morten.mjelva@gmail.com>2010-05-19 13:10:58 +0200
commite5f9e0200698bb09351f1bfa5497a4f4f732ea5b (patch)
tree249995cabbfd63da24324f7f6952c950878accd5
parent459d58933583245da57b142c1cbfcb87d07ac83a (diff)
Added element-type and transfer annotations to garray argumentsgarray-annotations
Skipped tp_g_value_slice_* functions in dbus.c
-rw-r--r--telepathy-glib/account.c4
-rw-r--r--telepathy-glib/channel.c16
-rw-r--r--telepathy-glib/connection-handles.c4
-rw-r--r--telepathy-glib/dbus.c10
-rw-r--r--telepathy-glib/intset.c4
5 files changed, 19 insertions, 19 deletions
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 420a0a68..7892377e 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -2372,8 +2372,8 @@ tp_account_get_avatar_async (TpAccount *account,
*
* Finishes an async get operation of @account's avatar.
*
- * Returns: a #GArray of #guchar containing the bytes of the account's avatar,
- * or %NULL on failure
+ * Returns: (element-type uint8): a #GArray of #guchar
+ * containing the bytes of the account's avatar, or %NULL on failure
*
* Since: 0.9.0
*/
diff --git a/telepathy-glib/channel.c b/telepathy-glib/channel.c
index 0c005298..a041e7e1 100644
--- a/telepathy-glib/channel.c
+++ b/telepathy-glib/channel.c
@@ -1630,14 +1630,14 @@ tp_channel_class_init (TpChannelClass *klass)
/**
* TpChannel::group-members-changed-detailed:
* @self: a channel
- * @added: (type GLib.Array): a #GArray of #guint containing the full
- * members added
- * @removed: (type GLib.Array): a #GArray of #guint containing the members
- * (full, local-pending or remote-pending) removed
- * @local_pending: (type GLib.Array): a #GArray of #guint containing the
- * local-pending members added
- * @remote_pending: (type GLib.Array): a #GArray of #guint containing the
- * remote-pending members added
+ * @added: (type GLib.Array) (element-type uint): a #GArray of #guint
+ * containing the full members added
+ * @removed: (type GLib.Array) (element-type uint): a #GArray of #guint
+ * containing the members (full, local-pending or remote-pending) removed
+ * @local_pending: (type GLib.Array) (element-type uint): a #GArray of
+ * #guint containing the local-pending members added
+ * @remote_pending: (type GLib.Array) (element-type uint): a #GArray of
+ * #guint containing the remote-pending members added
* @details: (type GLib.HashTable): (element-type utf8 GObject.Value):
* a #GHashTable mapping (gchar *) to #GValue containing details
* about the change, as described in the specification of the
diff --git a/telepathy-glib/connection-handles.c b/telepathy-glib/connection-handles.c
index c5584d0f..e87ffef0 100644
--- a/telepathy-glib/connection-handles.c
+++ b/telepathy-glib/connection-handles.c
@@ -535,8 +535,8 @@ request_handles_context_free (gpointer p)
* tp_connection_request_handles()
* @n_handles: the number of IDs that were passed to
* tp_connection_request_handles() on success, or 0 on failure
- * @handles: (array length=n_handles): the @n_handles handles corresponding to
- * @ids, in the same order, or %NULL on failure
+ * @handles: (element-type uint) (array length=n_handles): the @n_handles
+ * handles corresponding to @ids, in the same order, or %NULL on failure
* @ids: a copy of the array of @n_handles IDs that was passed to
* tp_connection_request_handles() on success, or %NULL on failure
* @error: %NULL on success, or an error on failure
diff --git a/telepathy-glib/dbus.c b/telepathy-glib/dbus.c
index 2cf092ba..642f2c53 100644
--- a/telepathy-glib/dbus.c
+++ b/telepathy-glib/dbus.c
@@ -590,7 +590,7 @@ tp_dbus_check_valid_object_path (const gchar *path, GError **error)
}
/**
- * tp_g_value_slice_new_bytes:
+ * tp_g_value_slice_new_bytes: (skip)
* @length: number of bytes to copy
* @bytes: location of an array of bytes to be copied (this may be %NULL
* if and only if length is 0)
@@ -621,7 +621,7 @@ tp_g_value_slice_new_bytes (guint length,
}
/**
- * tp_g_value_slice_new_take_bytes:
+ * tp_g_value_slice_new_take_bytes: (skip)
* @bytes: a non-NULL #GArray of guchar, ownership of which will be taken by
* the #GValue
*
@@ -643,7 +643,7 @@ tp_g_value_slice_new_take_bytes (GArray *bytes)
}
/**
- * tp_g_value_slice_new_object_path:
+ * tp_g_value_slice_new_object_path: (skip)
* @path: a valid D-Bus object path which will be copied
*
* Slice-allocate a #GValue containing an object path, using
@@ -663,7 +663,7 @@ tp_g_value_slice_new_object_path (const gchar *path)
}
/**
- * tp_g_value_slice_new_static_object_path:
+ * tp_g_value_slice_new_static_object_path: (skip)
* @path: a valid D-Bus object path which must remain valid forever
*
* Slice-allocate a #GValue containing an object path, using
@@ -683,7 +683,7 @@ tp_g_value_slice_new_static_object_path (const gchar *path)
}
/**
- * tp_g_value_slice_new_take_object_path:
+ * tp_g_value_slice_new_take_object_path: (skip)
* @path: a valid D-Bus object path which will be freed with g_free() by the
* returned #GValue (the caller must own it before calling this function, but
* no longer owns it after this function returns)
diff --git a/telepathy-glib/intset.c b/telepathy-glib/intset.c
index d4bad045..a1abe13e 100644
--- a/telepathy-glib/intset.c
+++ b/telepathy-glib/intset.c
@@ -358,7 +358,7 @@ addint (guint i, gpointer data)
*
* <!--Returns: says it all-->
*
- * Returns: a GArray of guint (which must be freed by the caller) containing
+ * Returns: (element-type uint): a GArray of guint (which must be freed by the caller) containing
* the same integers as @set.
*/
GArray *
@@ -378,7 +378,7 @@ tp_intset_to_array (const TpIntSet *set)
/**
* tp_intset_from_array:
- * @array: An array of guint
+ * @array: (element-type uint): An array of guint
*
* <!--Returns: says it all-->
*