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



commit b6d99d1e186d144d365675e2b6e81787bf8375dd
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Aug 4 10:11:54 2010 +0100

    introspection: Add missing annotations to GDataYouTubeQuery

 gdata/services/youtube/gdata-youtube-query.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-query.c b/gdata/services/youtube/gdata-youtube-query.c
index c6a9601..f008739 100644
--- a/gdata/services/youtube/gdata-youtube-query.c
+++ b/gdata/services/youtube/gdata-youtube-query.c
@@ -511,7 +511,7 @@ get_query_uri (GDataQuery *self, const gchar *feed_uri, GString *query_uri, gboo
 
 /**
  * gdata_youtube_query_new:
- * @q: a query string
+ * @q: (allow-none): a query string, or %NULL
  *
  * Creates a new #GDataYouTubeQuery with its #GDataQuery:q property set to @q.
  *
@@ -565,10 +565,11 @@ gdata_youtube_query_set_format (GDataYouTubeQuery *self, GDataYouTubeFormat form
 /**
  * gdata_youtube_query_get_location:
  * @self: a #GDataYouTubeQuery
- * @latitude: a location in which to return the latitude, or %NULL
- * @longitude: a location in which to return the longitude, or %NULL
- * @radius: a location in which to return the location radius, or %NULL
- * @has_location: a location in which to return %TRUE if the query is searching for videos with a specific location, %FALSE otherwise, or %NULL
+ * @latitude: (out caller-allocates) (allow-none): a location in which to return the latitude, or %NULL
+ * @longitude: (out caller-allocates) (allow-none): a location in which to return the longitude, or %NULL
+ * @radius: (out caller-allocates) (allow-none): a location in which to return the location radius, or %NULL
+ * @has_location: (out caller-allocates) (allow-none): a location in which to return %TRUE if the query is searching for videos with a specific
+ * location, %FALSE otherwise, or %NULL
  *
  * Gets the location-based properties of the #GDataYouTubeQuery<!-- -->: #GDataYouTubeQuery:latitude, #GDataYouTubeQuery:longitude,
  * #GDataYouTubeQuery:location-radius and #GDataYouTubeQuery:has-location.
@@ -644,7 +645,7 @@ gdata_youtube_query_get_language (GDataYouTubeQuery *self)
 /**
  * gdata_youtube_query_set_language:
  * @self: a #GDataYouTubeQuery
- * @language: a new language name, or %NULL
+ * @language: (allow-none): a new language name, or %NULL
  *
  * Sets the #GDataYouTubeQuery:language property of the #GDataYouTubeQuery to the new language, @language.
  *
@@ -684,7 +685,7 @@ gdata_youtube_query_get_order_by (GDataYouTubeQuery *self)
 /**
  * gdata_youtube_query_set_order_by:
  * @self: a #GDataYouTubeQuery
- * @order_by: a new order by string, or %NULL
+ * @order_by: (allow-none): a new order by string, or %NULL
  *
  * Sets the #GDataYouTubeQuery:order-by property of the #GDataYouTubeQuery to the new order by string, @order_by.
  *
@@ -725,7 +726,7 @@ gdata_youtube_query_get_restriction (GDataYouTubeQuery *self)
 /**
  * gdata_youtube_query_set_restriction:
  * @self: a #GDataYouTubeQuery
- * @restriction: a new restriction string, or %NULL
+ * @restriction: (allow-none): a new restriction string, or %NULL
  *
  * Sets the #GDataYouTubeQuery:restriction property of the #GDataYouTubeQuery to the new restriction string, @restriction.
  *



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