[PATCH 14/16] annotations: Media in cb is transfer full
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 14/16] annotations: Media in cb is transfer full
- Date: Thu, 9 Sep 2010 22:08:56 +0200
---
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()
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]