[PATCH] annotations: removed transfer mode for 'in' args
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH] annotations: removed transfer mode for 'in' args
- Date: Thu, 30 Sep 2010 19:53:27 +0200
Input arguments don't need 'transfer none' annotations.
Signed-off-by: Simón Pena <spenap gmail com>
---
src/grl-media-source.c | 16 ++++++++--------
src/grl-metadata-source.c | 8 ++++----
src/grl-multiple.c | 8 ++++----
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/grl-media-source.c b/src/grl-media-source.c
index c5730c4..9aa3873 100644
--- a/src/grl-media-source.c
+++ b/src/grl-media-source.c
@@ -1186,7 +1186,7 @@ metadata_full_resolution_ctl_cb (GrlMediaSource *source,
* grl_media_source_browse:
* @source: a media source
* @container: (allow-none): a container of data transfer objects
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
@@ -1323,7 +1323,7 @@ grl_media_source_browse (GrlMediaSource *source,
* grl_media_source_browse_sync:
* @source: a media source
* @container: (allow-none): a container of data transfer objects
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
@@ -1382,7 +1382,7 @@ grl_media_source_browse_sync (GrlMediaSource *source,
* grl_media_source_search:
* @source: a media source
* @text: the text to search
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
@@ -1509,7 +1509,7 @@ grl_media_source_search (GrlMediaSource *source,
* grl_media_source_search_sync:
* @source: a media source
* @text: the text to search
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
@@ -1568,7 +1568,7 @@ grl_media_source_search_sync (GrlMediaSource *source,
* grl_media_source_query:
* @source: a media source
* @query: the query to process
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
@@ -1701,7 +1701,7 @@ grl_media_source_query (GrlMediaSource *source,
* grl_media_source_query_sync:
* @source: a media source
* @query: the query to process
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
@@ -1760,7 +1760,7 @@ grl_media_source_query_sync (GrlMediaSource *source,
* grl_media_source_metadata:
* @source: a media source
* @media: (allow-none): a data transfer object
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @flags: the resolution mode
* @callback: (scope notified): the user defined callback
@@ -1871,7 +1871,7 @@ grl_media_source_metadata (GrlMediaSource *source,
* grl_media_source_metadata_sync:
* @source: a media source
* @media: (allow-none): a data transfer object
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID<!-- -->s to request
* @flags: the resolution mode
* @error: a #GError, or @NULL
diff --git a/src/grl-metadata-source.c b/src/grl-metadata-source.c
index 702a049..80f0fa4 100644
--- a/src/grl-metadata-source.c
+++ b/src/grl-metadata-source.c
@@ -588,7 +588,7 @@ grl_metadata_source_writable_keys (GrlMetadataSource *source)
/**
* grl_metadata_source_resolve:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (transfer none) (allow-none): the #GList
+ * @keys: (element-type GObject.ParamSpec) (allow-none): the #GList
* of #GrlKeyID to retrieve
* @media: Transfer object where all the metadata is stored.
* @flags: bitwise mask of #GrlMetadataResolutionFlags with the resolution
@@ -652,7 +652,7 @@ grl_metadata_source_resolve (GrlMetadataSource *source,
/**
* grl_metadata_source_resolve_sync:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (transfer none) (allow-none): the #GList
+ * @keys: (element-type GObject.ParamSpec) (allow-none): the #GList
* of #GrlKeyID to retrieve
* @media: Transfer object where all the metadata is stored
* @flags: bitwise mask of #GrlMetadataResolutionFlags with the resolution
@@ -1111,7 +1111,7 @@ grl_metadata_source_get_description (GrlMetadataSource *source)
* grl_metadata_source_set_metadata:
* @source: a metadata source
* @media: the #GrlMedia object that we want to operate on.
- * @keys: (element-type GObject.ParamSpec) (transfer none) (allow-none): a list
+ * @keys: (element-type GObject.ParamSpec) (allow-none): a list
* of #GrlKeyID whose values we want to change.
* @flags: Flags to configure specific behaviors of the operation.
* @callback: (scope notified): the callback to execute when the operation is finished.
@@ -1174,7 +1174,7 @@ grl_metadata_source_set_metadata (GrlMetadataSource *source,
* grl_metadata_source_set_metadata_sync:
* @source: a metadata source
* @media: the #GrlMedia object that we want to operate on
- * @keys: (element-type GObject.ParamSpec) (allow-none) (transfer none): a list of
+ * @keys: (element-type GObject.ParamSpec) (allow-none): a list of
* #GrlKeyID whose values we want to change
* @flags: Flags to configure specific behaviors of the operation.
* @error: a #GError, or @NULL
diff --git a/src/grl-multiple.c b/src/grl-multiple.c
index bc15428..d651fa0 100644
--- a/src/grl-multiple.c
+++ b/src/grl-multiple.c
@@ -433,11 +433,11 @@ multiple_search_cb (GrlMediaSource *source,
/**
* grl_multiple_search:
- * @sources: (element-type Grl.MediaSource) (transfer none) (allow-none):
+ * @sources: (element-type Grl.MediaSource) (allow-none):
* a #GList of #GrlMediaSource<!-- -->s to search from (%NULL for all
* searchable sources)
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
@@ -567,11 +567,11 @@ grl_multiple_cancel (guint search_id)
/**
* grl_multiple_search_sync:
- * @sources: (element-type Grl.MediaSource) (transfer none) (allow-none):
+ * @sources: (element-type Grl.MediaSource) (allow-none):
* a #GList of #GrlMediaSource<!-- -->s where to search from (%NULL for all
* available sources with search capability)
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec) (transfer none): the #GList of
+ * @keys: (element-type GObject.ParamSpec): the #GList of
* #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
--
1.7.0.4
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]