[libgdata] [introspection] Add missing annotations to GDataPicasaWebFile



commit 94b8faf822afff1fe9e9aac2e92772d2d0db0902
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Aug 4 09:53:51 2010 +0100

    [introspection] Add missing annotations to GDataPicasaWebFile

 gdata/services/picasaweb/gdata-picasaweb-file.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gdata/services/picasaweb/gdata-picasaweb-file.c b/gdata/services/picasaweb/gdata-picasaweb-file.c
index 39f3182..d982fbe 100644
--- a/gdata/services/picasaweb/gdata-picasaweb-file.c
+++ b/gdata/services/picasaweb/gdata-picasaweb-file.c
@@ -1070,7 +1070,7 @@ get_entry_uri (const gchar *id)
 
 /**
  * gdata_picasaweb_file_new:
- * @id: the file's ID, or %NULL
+ * @id: (allow-none): the file's ID, or %NULL
  *
  * Creates a new #GDataPicasaWebFile with the given ID and default properties.
  *
@@ -1301,7 +1301,7 @@ gdata_picasaweb_file_get_client (GDataPicasaWebFile *self)
 /**
  * gdata_picasaweb_file_set_client:
  * @self: a #GDataPicasaWebFile
- * @client: the name of the software which created or modified the photo, or %NULL
+ * @client: (allow-none): the name of the software which created or modified the photo, or %NULL
  *
  * Sets the #GDataPicasaWebFile:client property to @client.
  *
@@ -1339,7 +1339,7 @@ gdata_picasaweb_file_get_checksum (GDataPicasaWebFile *self)
 /**
  * gdata_picasaweb_file_set_checksum:
  * @self: a #GDataPicasaWebFile
- * @checksum: the new checksum for this file, or %NULL
+ * @checksum: (allow-none): the new checksum for this file, or %NULL
  *
  * Sets the #GDataPicasaWebFile:checksum property to @checksum.
  *
@@ -1378,7 +1378,7 @@ gdata_picasaweb_file_get_timestamp (GDataPicasaWebFile *self, GTimeVal *timestam
 /**
  * gdata_picasaweb_file_set_timestamp:
  * @self: a #GDataPicasaWebFile
- * @timestamp: a #GTimeVal, or %NULL
+ * @timestamp: (allow-none): a #GTimeVal, or %NULL
  *
  * Sets the #GDataPicasaWebFile:timestamp property from values supplied by @timestamp. If @timestamp is %NULL,
  * the property will be unset.
@@ -1513,7 +1513,7 @@ gdata_picasaweb_file_get_video_status (GDataPicasaWebFile *self)
  *
  * Gets the #GDataPicasaWebFile:tags property.
  *
- * Return value: a %NULL-terminated array of tags associated with the file, or %NULL
+ * Return value: (array zero-terminated=1) (transfer none): a %NULL-terminated array of tags associated with the file, or %NULL
  *
  * Since: 0.4.0
  **/
@@ -1527,7 +1527,7 @@ gdata_picasaweb_file_get_tags (GDataPicasaWebFile *self)
 /**
  * gdata_picasaweb_file_set_tags:
  * @self: a #GDataPicasaWebFile
- * @tags: a new %NULL-terminated array of tags, or %NULL
+ * @tags: (array zero-terminated=1) (allow-none): a new %NULL-terminated array of tags, or %NULL
  *
  * Sets the #GDataPicasaWebFile:tags property to @tags.
  *
@@ -1585,7 +1585,7 @@ gdata_picasaweb_file_get_caption (GDataPicasaWebFile *self)
 /**
  * gdata_picasaweb_file_set_caption:
  * @self: a #GDataPicasaWebFile
- * @caption: the file's new caption, or %NULL
+ * @caption: (allow-none): the file's new caption, or %NULL
  *
  * Sets the #GDataPicasaWebFile:caption property to @caption.
  *
@@ -1797,8 +1797,8 @@ gdata_picasaweb_file_get_model (GDataPicasaWebFile *self)
 /**
  * gdata_picasaweb_file_get_coordinates:
  * @self: a #GDataPicasaWebFile
- * @latitude: return location for the latitude, or %NULL
- * @longitude: return location for the longitude, or %NULL
+ * @latitude: (out caller-allocates) (allow-none): return location for the latitude, or %NULL
+ * @longitude: (out caller-allocates) (allow-none): return location for the longitude, or %NULL
  *
  * Gets the #GDataPicasaWebFile:latitude and #GDataPicasaWebFile:longitude properties, setting the out parameters to them.
  * If either latitude or longitude is %NULL, that parameter will not be set. If the coordinates are unset,



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