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



commit f49b6c439e6baefa05adad09636e5dae0d69e964
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Aug 2 23:10:25 2010 +0100

    introspection: Add missing annotations to GDataQuery

 gdata/gdata-query.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gdata/gdata-query.c b/gdata/gdata-query.c
index 7c7de9f..00b5a0f 100644
--- a/gdata/gdata-query.c
+++ b/gdata/gdata-query.c
@@ -523,7 +523,7 @@ get_query_uri (GDataQuery *self, const gchar *feed_uri, GString *query_uri, gboo
 
 /**
  * gdata_query_new:
- * @q: a query string
+ * @q: (allow-none): a query string, or %NULL
  *
  * Creates a new #GDataQuery with its #GDataQuery:q property set to @q.
  *
@@ -537,9 +537,9 @@ gdata_query_new (const gchar *q)
 
 /**
  * gdata_query_new_with_limits:
- * @q: a query string
- * @start_index: a one-based start index for the results
- * @max_results: the maximum number of results to return
+ * @q: (allow-none): a query string, or %NULL
+ * @start_index: a one-based start index for the results, or <code class="literal">0</code>
+ * @max_results: the maximum number of results to return, or <code class="literal">0</code>
  *
  * Creates a new #GDataQuery with its #GDataQuery:q property set to @q, and the limits @start_index and @max_results
  * applied.
@@ -626,7 +626,7 @@ gdata_query_get_q (GDataQuery *self)
 /**
  * gdata_query_set_q:
  * @self: a #GDataQuery
- * @q: a new query string, or %NULL
+ * @q: (allow-none): a new query string, or %NULL
  *
  * Sets the #GDataQuery:q property of the #GDataQuery to the new query string, @q.
  *
@@ -669,7 +669,7 @@ gdata_query_get_categories (GDataQuery *self)
 /**
  * gdata_query_set_categories:
  * @self: a #GDataQuery
- * @categories: the new category string, or %NULL
+ * @categories: (allow-none): the new category string, or %NULL
  *
  * Sets the #GDataQuery:categories property of the #GDataQuery to the new category string, @categories.
  *
@@ -712,7 +712,7 @@ gdata_query_get_author (GDataQuery *self)
 /**
  * gdata_query_set_author:
  * @self: a #GDataQuery
- * @author: the new author string, or %NULL
+ * @author: (allow-none): the new author string, or %NULL
  *
  * Sets the #GDataQuery:author property of the #GDataQuery to the new author string, @author.
  *
@@ -756,7 +756,7 @@ gdata_query_get_updated_min (GDataQuery *self, GTimeVal *updated_min)
 /**
  * gdata_query_set_updated_min:
  * @self: a #GDataQuery
- * @updated_min: the new minimum update time, or %NULL
+ * @updated_min: (allow-none): the new minimum update time, or %NULL
  *
  * Sets the #GDataQuery:updated-min property of the #GDataQuery to the new minimum update time, @updated_min.
  *
@@ -801,7 +801,7 @@ gdata_query_get_updated_max (GDataQuery *self, GTimeVal *updated_max)
 /**
  * gdata_query_set_updated_max:
  * @self: a #GDataQuery
- * @updated_max: the new maximum update time, or %NULL
+ * @updated_max: (allow-none): the new maximum update time, or %NULL
  *
  * Sets the #GDataQuery:updated-max property of the #GDataQuery to the new maximum update time, @updated_max.
  *
@@ -846,7 +846,7 @@ gdata_query_get_published_min (GDataQuery *self, GTimeVal *published_min)
 /**
  * gdata_query_set_published_min:
  * @self: a #GDataQuery
- * @published_min: the new minimum publish time, or %NULL
+ * @published_min: (allow-none): the new minimum publish time, or %NULL
  *
  * Sets the #GDataQuery:published-min property of the #GDataQuery to the new minimum publish time, @published_min.
  *
@@ -891,7 +891,7 @@ gdata_query_get_published_max (GDataQuery *self, GTimeVal *published_max)
 /**
  * gdata_query_set_published_max:
  * @self: a #GDataQuery
- * @published_max: the new maximum publish time, or %NULL
+ * @published_max: (allow-none): the new maximum publish time, or %NULL
  *
  * Sets the #GDataQuery:published-max property of the #GDataQuery to the new maximum publish time, @published_max.
  *
@@ -1114,7 +1114,7 @@ gdata_query_get_etag (GDataQuery *self)
 /**
  * gdata_query_set_etag:
  * @self: a #GDataQuery
- * @etag: the new ETag
+ * @etag: (allow-none): the new ETag, or %NULL
  *
  * Sets the #GDataQuery:etag property of the #GDataQuery to the new ETag, @etag.
  *



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