[libgdata/libgdata-0-6] introspection: Add missing annotations to GDataYouTubeVideo



commit 10af39a8661dade07d7d4310cce80193e0489b47
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Aug 4 10:19:40 2010 +0100

    introspection: Add missing annotations to GDataYouTubeVideo

 gdata/services/youtube/gdata-youtube-video.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-video.c b/gdata/services/youtube/gdata-youtube-video.c
index 946b4d9..0047c51 100644
--- a/gdata/services/youtube/gdata-youtube-video.c
+++ b/gdata/services/youtube/gdata-youtube-video.c
@@ -896,7 +896,7 @@ gdata_youtube_video_get_location (GDataYouTubeVideo *self)
 /**
  * gdata_youtube_video_set_location:
  * @self: a #GDataYouTubeVideo
- * @location: a new location, or %NULL
+ * @location: (allow-none): a new location, or %NULL
  *
  * Sets the #GDataYouTubeVideo:location property to the new location string, @location.
  *
@@ -945,10 +945,10 @@ gdata_youtube_video_set_no_embed (GDataYouTubeVideo *self, gboolean no_embed)
 /**
  * gdata_youtube_video_get_rating:
  * @self: a #GDataYouTubeVideo
- * @min: return location for the minimum rating value, or %NULL
- * @max: return location for the maximum rating value, or %NULL
- * @count: return location for the number of ratings, or %NULL
- * @average: return location for the average rating value, or %NULL
+ * @min: (out caller-allocates) (allow-none): return location for the minimum rating value, or %NULL
+ * @max: (out caller-allocates) (allow-none): return location for the maximum rating value, or %NULL
+ * @count: (out caller-allocates) (allow-none): return location for the number of ratings, or %NULL
+ * @average: (out caller-allocates) (allow-none): return location for the average rating value, or %NULL
  *
  * Gets various properties of the ratings on the video.
  **/
@@ -1043,7 +1043,7 @@ gdata_youtube_video_is_restricted_in_country (GDataYouTubeVideo *self, const gch
  *
  * Gets the #GDataYouTubeVideo:category property.
  *
- * Return value: a #GDataMediaCategory giving the video's single and mandatory category
+ * Return value: (transfer none): a #GDataMediaCategory giving the video's single and mandatory category
  **/
 GDataMediaCategory *
 gdata_youtube_video_get_category (GDataYouTubeVideo *self)
@@ -1078,7 +1078,7 @@ gdata_youtube_video_set_category (GDataYouTubeVideo *self, GDataMediaCategory *c
  *
  * Gets the #GDataYouTubeVideo:credit property.
  *
- * Return value: a #GDataMediaCredit giving information on whom to credit for the video, or %NULL
+ * Return value: (transfer none): a #GDataMediaCredit giving information on whom to credit for the video, or %NULL
  **/
 GDataYouTubeCredit *
 gdata_youtube_video_get_credit (GDataYouTubeVideo *self)
@@ -1105,7 +1105,7 @@ gdata_youtube_video_get_description (GDataYouTubeVideo *self)
 /**
  * gdata_youtube_video_set_description:
  * @self: a #GDataYouTubeVideo
- * @description: the video's new description
+ * @description: (allow-none): the video's new description, or %NULL
  *
  * Sets the #GDataYouTubeVideo:description property to the new description, @description.
  *
@@ -1128,7 +1128,7 @@ gdata_youtube_video_set_description (GDataYouTubeVideo *self, const gchar *descr
  * Looks up a #GDataYouTubeContent from the video with the given MIME type. The video's list of contents is
  * a list of URIs to various formats of the video itself, such as its SWF URI or RTSP stream.
  *
- * Return value: a #GDataYouTubeContent matching @type, or %NULL
+ * Return value: (transfer none): a #GDataYouTubeContent matching @type, or %NULL
  **/
 GDataYouTubeContent *
 gdata_youtube_video_look_up_content (GDataYouTubeVideo *self, const gchar *type)
@@ -1268,7 +1268,7 @@ gdata_youtube_video_set_is_draft (GDataYouTubeVideo *self, gboolean is_draft)
  * For more information, see the <ulink type="http"
  * url="http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_api_tag_yt:state";>online documentation</ulink>.
  *
- * Return value: a #GDataYouTubeState showing the state of the video, or %NULL
+ * Return value: (transfer none): a #GDataYouTubeState showing the state of the video, or %NULL
  **/
 GDataYouTubeState *
 gdata_youtube_video_get_state (GDataYouTubeVideo *self)
@@ -1297,7 +1297,7 @@ gdata_youtube_video_get_recorded (GDataYouTubeVideo *self, GTimeVal *recorded)
 /**
  * gdata_youtube_video_set_recorded:
  * @self: a #GDataYouTubeVideo
- * @recorded: the video's new recorded time
+ * @recorded: (allow-none): the video's new recorded time, or %NULL
  *
  * Sets the #GDataYouTubeVideo:recorded property to the new recorded time, @recorded.
  *
@@ -1404,7 +1404,7 @@ gdata_youtube_video_get_aspect_ratio (GDataYouTubeVideo *self)
 /**
  * gdata_youtube_video_set_aspect_ratio:
  * @self: a #GDataYouTubeVideo
- * @aspect_ratio: the aspect ratio property
+ * @aspect_ratio: (allow-none): the aspect ratio property, or %NULL
  *
  * Sets the #GDataYouTubeVideo:aspect-ratio property to specify the video's aspect ratio.
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]