[PATCH 5/7] annotations: Annotated grl-multiple
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 5/7] annotations: Annotated grl-multiple
- Date: Tue, 17 Aug 2010 22:04:36 +0200
---
src/grl-multiple.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/grl-multiple.c b/src/grl-multiple.c
index 39d2ec2..1834495 100644
--- a/src/grl-multiple.c
+++ b/src/grl-multiple.c
@@ -431,12 +431,12 @@ multiple_search_cb (GrlMediaSource *source,
/**
* grl_multiple_search:
- * @sources: a list of sources to search from (NULL for all searchable sources)
+ * @sources: (element-type Grl.MediaSource*) (transfer none) (allow-none): a list of sources to search from (NULL for all searchable sources)
* @text: the text to search for
- * @keys: the list of #GrlKeyID to retrieve
+ * @keys: (element-type GObject.ParamSpec*) (transfer none): the list of #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
- * @callback: the user defined callback
+ * @callback: (scope notified): the user defined callback
* @user_data: the user data to pass to the user callback
*
* Search for @text in all the sources specified in @sources.
@@ -564,9 +564,9 @@ grl_multiple_cancel (guint search_id)
/**
* grl_multiple_search_sync:
- * @sources: a list of sources where to search from
+ * @sources: (element-type Grl.MediaSource*) (transfer none) (allow-none): a list of sources where to search from
* @text: the text to search for
- * @keys: the list of #GrlKeyID to retrieve
+ * @keys: (element-type GObject.ParamSpec*) (transfer none): the list of #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
* @error: a #GError, or @NULL
@@ -575,7 +575,7 @@ grl_multiple_cancel (guint search_id)
*
* This method is synchronous.
*
- * Returns: a list with #GrlMedia elements
+ * Returns: (element-type Grl.Media*): a list with #GrlMedia elements
*/
GList *
grl_multiple_search_sync (const GList *sources,
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]