[grilo] annotations: Media in cb is transfer full
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] annotations: Media in cb is transfer full
- Date: Fri, 10 Sep 2010 11:32:52 +0000 (UTC)
commit d1efdeb270e3084147ff44c0c1d6a2cc1949b990
Author: Simón Pena <spenap gmail com>
Date: Thu Sep 9 22:08:56 2010 +0200
annotations: Media in cb is transfer full
Signed-off-by: Iago Toral Quiroga <itoral igalia com>
src/grl-media-source.h | 8 ++++----
src/grl-metadata-source.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/grl-media-source.h b/src/grl-media-source.h
index f190382..5b414e1 100644
--- a/src/grl-media-source.h
+++ b/src/grl-media-source.h
@@ -82,7 +82,7 @@ struct _GrlMediaSource {
* GrlMediaSourceResultCb:
* @source: a media source
* @operation_id: operation identifier
- * @media: a data transfer object
+ * @media: (transfer full): a data transfer object
* @remaining: the number of remaining #GrlMedia to process
* @user_data: user data passed to the used method
* @error: (not-error) (type uint): possible #GError generated at processing
@@ -99,7 +99,7 @@ typedef void (*GrlMediaSourceResultCb) (GrlMediaSource *source,
/**
* GrlMediaSourceMetadataCb:
* @source: a media source
- * @media: a data transfer object
+ * @media: (transfer full): a data transfer object
* @user_data: user data passed to grl_media_source_metadata()
* @error: (not-error) (type uint): possible #GError generated at processing
*
@@ -114,7 +114,7 @@ typedef void (*GrlMediaSourceMetadataCb) (GrlMediaSource *source,
* GrlMediaSourceStoreCb:
* @source: a media source
* @parent: TBD
- * @media: a data transfer object
+ * @media: (transfer full): a data transfer object
* @user_data: user data passed to grl_media_source_store()
* @error: (not-error) (type uint): possible #GError generated at processing
*
@@ -129,7 +129,7 @@ typedef void (*GrlMediaSourceStoreCb) (GrlMediaSource *source,
/**
* GrlMediaSourceRemoveCb:
* @source: a media source
- * @media: a data transfer object
+ * @media: (transfer full): a data transfer object
* @user_data: user data passed to grl_media_source_remove()
* @error: (not-error) (type uint): possible #GError generated at processing
*
diff --git a/src/grl-metadata-source.h b/src/grl-metadata-source.h
index df30e65..9694d5a 100644
--- a/src/grl-metadata-source.h
+++ b/src/grl-metadata-source.h
@@ -108,7 +108,7 @@ struct _GrlMetadataSource {
/**
* GrlMetadataSourceResolveCb:
* @source: a metadata source
- * @media: a #GrlMedia transfer object
+ * @media: (transfer full): a #GrlMedia transfer object
* @user_data: user data passed to grl_metadata_source_resolve()
* @error: (not-error) (type uint): possible #GError generated when resolving the metadata
*
@@ -122,7 +122,7 @@ typedef void (*GrlMetadataSourceResolveCb) (GrlMetadataSource *source,
/**
* GrlMetadataSourceSetMetadataCb:
* @source: a metadata source
- * @media: a #GrlMedia transfer object
+ * @media: (transfer full): a #GrlMedia transfer object
* @failed_keys: (element-type GObject.ParamSpec) (transfer container): #GList of
* keys that could not be updated, if any
* @user_data: user data passed to grl_metadata_source_set_metadata()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]