[libgdata] introspection: Add missing (transfer full) annotations



commit 22518fc61ebcb7f0aae41d0d125a6301ddbb089c
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Sep 29 15:23:07 2010 +0100

    introspection: Add missing (transfer full) annotations

 gdata/gdata-access-handler.c                       |    6 +++---
 gdata/gdata-batchable.c                            |    2 +-
 gdata/gdata-service.c                              |   16 ++++++++--------
 gdata/media/gdata-media-content.c                  |    2 +-
 gdata/media/gdata-media-thumbnail.c                |    2 +-
 gdata/services/calendar/gdata-calendar-service.c   |    8 ++++----
 gdata/services/contacts/gdata-contacts-service.c   |    4 ++--
 .../services/documents/gdata-documents-document.c  |    2 +-
 .../documents/gdata-documents-presentation.c       |    2 +-
 gdata/services/documents/gdata-documents-service.c |   10 +++++-----
 .../documents/gdata-documents-spreadsheet.c        |    2 +-
 gdata/services/documents/gdata-documents-text.c    |    2 +-
 gdata/services/picasaweb/gdata-picasaweb-service.c |   14 +++++++-------
 gdata/services/youtube/gdata-youtube-service.c     |   12 ++++++------
 gdata/services/youtube/gdata-youtube-video.c       |    2 +-
 15 files changed, 43 insertions(+), 43 deletions(-)
---
diff --git a/gdata/gdata-access-handler.c b/gdata/gdata-access-handler.c
index 17b9f08..fe3edc9 100644
--- a/gdata/gdata-access-handler.c
+++ b/gdata/gdata-access-handler.c
@@ -76,7 +76,7 @@ gdata_access_handler_get_type (void)
  * For each rule in the response feed, @progress_callback will be called in the main thread. If there was an error parsing the XML response,
  * a #GDataParserError will be returned.
  *
- * Return value: a #GDataFeed of access control rules, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of access control rules, or %NULL; unref with g_object_unref()
  *
  * Since: 0.3.0
  **/
@@ -146,7 +146,7 @@ gdata_access_handler_get_rules (GDataAccessHandler *self, GDataService *service,
  *
  * If there is an error inserting the rule, a %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be returned.
  *
- * Return value: an updated #GDataAccessRule, or %NULL
+ * Return value: (transfer full): an updated #GDataAccessRule, or %NULL; unref with g_object_unref()
  *
  * Since: 0.3.0
  **/
@@ -258,7 +258,7 @@ build_message (GDataAccessHandler *access_handler, GDataService *service, GDataA
  *
  * If there is an error updating the rule, a %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be returned.
  *
- * Return value: an updated #GDataAccessRule, or %NULL
+ * Return value: (transfer full): an updated #GDataAccessRule, or %NULL; unref with g_object_unref()
  *
  * Since: 0.3.0
  **/
diff --git a/gdata/gdata-batchable.c b/gdata/gdata-batchable.c
index e124fa7..ee29a15 100644
--- a/gdata/gdata-batchable.c
+++ b/gdata/gdata-batchable.c
@@ -59,7 +59,7 @@ gdata_batchable_get_type (void)
  * Creates a new #GDataBatchOperation for the given #GDataBatchable service, and with the given @feed_uri. @feed_uri is normally the %GDATA_LINK_BATCH
  * link URI in the appropriate #GDataFeed from the service.
  *
- * Return value: a new #GDataBatchOperation; unref with g_object_unref()
+ * Return value: (transfer full): a new #GDataBatchOperation; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 216f0e2..a2883c9 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -1103,7 +1103,7 @@ gdata_service_query_async (GDataService *self, const gchar *feed_uri, GDataQuery
  *
  * Finishes an asynchronous query operation started with gdata_service_query_async().
  *
- * Return value: a #GDataFeed of query results, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results, or %NULL; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_service_query_finish (GDataService *self, GAsyncResult *async_result, GError **error)
@@ -1210,7 +1210,7 @@ _gdata_service_query (GDataService *self, const gchar *feed_uri, GDataQuery *que
  * If the #GDataQuery's ETag is set and it finds a match on the server, %NULL will be returned, but @error will remain unset. Otherwise,
  * @query's ETag will be updated with the ETag from the returned feed, if available.
  *
- * Return value: a #GDataFeed of query results, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results, or %NULL; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_service_query (GDataService *self, const gchar *feed_uri, GDataQuery *query, GType entry_type,
@@ -1276,7 +1276,7 @@ gdata_service_query (GDataService *self, const gchar *feed_uri, GDataQuery *quer
  * bandwidth. If the server does not return anything for this reason, gdata_service_query_single_entry() will return
  * %NULL, but will not set an error in @error.
  *
- * Return value: a #GDataEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
@@ -1403,7 +1403,7 @@ gdata_service_query_single_entry_async (GDataService *self, const gchar *entry_i
  *
  * Finishes an asynchronous query operation for a single entry, as started with gdata_service_query_single_entry_async().
  *
- * Return value: a #GDataEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
@@ -1511,7 +1511,7 @@ gdata_service_insert_entry_async (GDataService *self, const gchar *upload_uri, G
  *
  * Finishes an asynchronous entry insertion operation started with gdata_service_insert_entry_async().
  *
- * Return value: an updated #GDataEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.3.0
  **/
@@ -1560,7 +1560,7 @@ gdata_service_insert_entry_finish (GDataService *self, GAsyncResult *async_resul
  * If there is an error inserting the entry, a %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be returned. Currently, subclasses
  * <emphasis>cannot</emphasis> cannot override this or provide more specific errors.
  *
- * Return value: an updated #GDataEntry, or %NULL
+ * Return value: (transfer full): an updated #GDataEntry, or %NULL; unref with g_object_unref()
  **/
 GDataEntry *
 gdata_service_insert_entry (GDataService *self, const gchar *upload_uri, GDataEntry *entry, GCancellable *cancellable, GError **error)
@@ -1673,7 +1673,7 @@ gdata_service_update_entry_async (GDataService *self, GDataEntry *entry, GCancel
  *
  * Finishes an asynchronous entry update operation started with gdata_service_update_entry_async().
  *
- * Return value: an updated #GDataEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.3.0
  **/
@@ -1718,7 +1718,7 @@ gdata_service_update_entry_finish (GDataService *self, GAsyncResult *async_resul
  * If there is an error updating the entry, a %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be returned. Currently, subclasses
  * <emphasis>cannot</emphasis> cannot override this or provide more specific errors.
  *
- * Return value: an updated #GDataEntry, or %NULL
+ * Return value: (transfer full): an updated #GDataEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.2.0
  **/
diff --git a/gdata/media/gdata-media-content.c b/gdata/media/gdata-media-content.c
index 2602769..89c336f 100644
--- a/gdata/media/gdata-media-content.c
+++ b/gdata/media/gdata-media-content.c
@@ -550,7 +550,7 @@ gdata_media_content_get_width (GDataMediaContent *self)
  * downloaded into this directory with the default filename specified
  * in @default_filename.
  *
- * Return value: the content's data, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): the content's data, or %NULL; unref with g_object_unref()
  *
  * Since: 0.6.0
  **/
diff --git a/gdata/media/gdata-media-thumbnail.c b/gdata/media/gdata-media-thumbnail.c
index 02703c2..1ce0b6f 100644
--- a/gdata/media/gdata-media-thumbnail.c
+++ b/gdata/media/gdata-media-thumbnail.c
@@ -377,7 +377,7 @@ gdata_media_thumbnail_get_time (GDataMediaThumbnail *self)
  * downloaded into this directory with the default filename specified
  * in @default_filename.
  *
- * Return value: the thumbnail's data, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): the thumbnail's data, or %NULL; unref with g_object_unref()
  *
  * Since: 0.6.0
  **/
diff --git a/gdata/services/calendar/gdata-calendar-service.c b/gdata/services/calendar/gdata-calendar-service.c
index ba35582..e7efbb9 100644
--- a/gdata/services/calendar/gdata-calendar-service.c
+++ b/gdata/services/calendar/gdata-calendar-service.c
@@ -91,7 +91,7 @@ gdata_calendar_service_new (const gchar *client_id)
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_calendar_service_query_all_calendars (GDataCalendarService *self, GDataQuery *query, GCancellable *cancellable,
@@ -178,7 +178,7 @@ gdata_calendar_service_query_all_calendars_async (GDataCalendarService *self, GD
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_calendar_service_query_own_calendars (GDataCalendarService *self, GDataQuery *query, GCancellable *cancellable,
@@ -264,7 +264,7 @@ gdata_calendar_service_query_own_calendars_async (GDataCalendarService *self, GD
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_calendar_service_query_events (GDataCalendarService *self, GDataCalendarCalendar *calendar, GDataQuery *query, GCancellable *cancellable,
@@ -311,7 +311,7 @@ gdata_calendar_service_query_events (GDataCalendarService *self, GDataCalendarCa
  *
  * For more details, see gdata_service_insert_entry().
  *
- * Return value: an updated #GDataCalendarEvent, or %NULL
+ * Return value: (transfer full): an updated #GDataCalendarEvent, or %NULL; unref with g_object_unref()
  *
  * Since: 0.2.0
  **/
diff --git a/gdata/services/contacts/gdata-contacts-service.c b/gdata/services/contacts/gdata-contacts-service.c
index ed36785..6d48596 100644
--- a/gdata/services/contacts/gdata-contacts-service.c
+++ b/gdata/services/contacts/gdata-contacts-service.c
@@ -94,7 +94,7 @@ gdata_contacts_service_new (const gchar *client_id)
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  *
  * Since: 0.2.0
  **/
@@ -180,7 +180,7 @@ gdata_contacts_service_query_contacts_async (GDataContactsService *self, GDataQu
  *
  * For more details, see gdata_service_insert_entry().
  *
- * Return value: an updated #GDataContactsContact, or %NULL
+ * Return value: (transfer full): an updated #GDataContactsContact, or %NULL; unref with g_object_unref()
  *
  * Since: 0.2.0
  **/
diff --git a/gdata/services/documents/gdata-documents-document.c b/gdata/services/documents/gdata-documents-document.c
index a85f821..1b83a1f 100644
--- a/gdata/services/documents/gdata-documents-document.c
+++ b/gdata/services/documents/gdata-documents-document.c
@@ -95,7 +95,7 @@ notify_content_type_cb (GDataDownloadStream *download_stream, GParamSpec *pspec,
  *
  * If there is an error getting the document, a %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be returned.
  *
- * Return value: a #GFile pointing to the downloaded document, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GFile pointing to the downloaded document, or %NULL; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
diff --git a/gdata/services/documents/gdata-documents-presentation.c b/gdata/services/documents/gdata-documents-presentation.c
index 696a959..491bff6 100644
--- a/gdata/services/documents/gdata-documents-presentation.c
+++ b/gdata/services/documents/gdata-documents-presentation.c
@@ -76,7 +76,7 @@ get_xml (GDataParsable *parsable, GString *xml_string)
  *
  * Creates a new #GDataDocumentsPresentation with the given entry ID (#GDataEntry:id).
  *
- * Return value: a new #GDataDocumentsPresentation, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a new #GDataDocumentsPresentation, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
diff --git a/gdata/services/documents/gdata-documents-service.c b/gdata/services/documents/gdata-documents-service.c
index f80956e..4040abc 100644
--- a/gdata/services/documents/gdata-documents-service.c
+++ b/gdata/services/documents/gdata-documents-service.c
@@ -177,7 +177,7 @@ gdata_documents_service_new (const gchar *client_id)
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataDocumentsFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataDocumentsFeed of query results; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -409,7 +409,7 @@ upload_update_document (GDataDocumentsService *self, GDataDocumentsEntry *docume
  * If there is a problem reading @document_file, an error from g_file_load_contents() or g_file_query_info() will be returned. Other errors from
  * #GDataServiceError can be returned for other exceptional conditions, as determined by the server.
  *
- * Return value: an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -469,7 +469,7 @@ gdata_documents_service_upload_document (GDataDocumentsService *self, GDataDocum
  *
  * For more details, see gdata_service_insert_entry().
  *
- * Return value: an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -513,7 +513,7 @@ gdata_documents_service_update_document (GDataDocumentsService *self, GDataDocum
  *
  * Errors from #GDataServiceError can be returned for other exceptional conditions, as determined by the server.
  *
- * Return value: an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -588,7 +588,7 @@ gdata_documents_service_move_document_to_folder (GDataDocumentsService *self, GD
  *
  * Errors from #GDataServiceError can be returned for other exceptional conditions, as determined by the server.
  *
- * Return value: an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): an updated #GDataDocumentsEntry, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
diff --git a/gdata/services/documents/gdata-documents-spreadsheet.c b/gdata/services/documents/gdata-documents-spreadsheet.c
index 92653b7..4fcbdbe 100644
--- a/gdata/services/documents/gdata-documents-spreadsheet.c
+++ b/gdata/services/documents/gdata-documents-spreadsheet.c
@@ -80,7 +80,7 @@ get_xml (GDataParsable *parsable, GString *xml_string)
  *
  * Creates a new #GDataDocumentsSpreadsheet with the given entry ID (#GDataEntry:id).
  *
- * Return value: a new #GDataDocumentsSpreadsheet, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a new #GDataDocumentsSpreadsheet, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
diff --git a/gdata/services/documents/gdata-documents-text.c b/gdata/services/documents/gdata-documents-text.c
index 71a6761..4292360 100644
--- a/gdata/services/documents/gdata-documents-text.c
+++ b/gdata/services/documents/gdata-documents-text.c
@@ -76,7 +76,7 @@ get_xml (GDataParsable *parsable, GString *xml_string)
  *
  * Creates a new #GDataDocumentsText with the given entry ID (#GDataEntry:id).
  *
- * Return value: a new #GDataDocumentsText, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a new #GDataDocumentsText, or %NULL; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
diff --git a/gdata/services/picasaweb/gdata-picasaweb-service.c b/gdata/services/picasaweb/gdata-picasaweb-service.c
index f577a20..e09df6d 100644
--- a/gdata/services/picasaweb/gdata-picasaweb-service.c
+++ b/gdata/services/picasaweb/gdata-picasaweb-service.c
@@ -157,7 +157,7 @@ create_uri (GDataPicasaWebService *self, const gchar *username, const gchar *typ
 }
 
 /**
- * gdata_picasaweb_service_get_user
+ * gdata_picasaweb_service_get_user:
  * @self: a #GDataPicasaWebService
  * @username: (allow-none): the username of the user whose information you wish to retrieve, or %NULL for the currently authenticated user.
  * @cancellable: optional #GCancellable object, or %NULL
@@ -165,7 +165,7 @@ create_uri (GDataPicasaWebService *self, const gchar *username, const gchar *typ
  *
  * Queries the service to return the user specified by @username.
  *
- * Return value: a #GDataPicasaWebUser; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataPicasaWebUser; unref with g_object_unref()
  *
  * Since: 0.6.0
  **/
@@ -218,7 +218,7 @@ gdata_picasaweb_service_get_user (GDataPicasaWebService *self, const gchar *user
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -325,7 +325,7 @@ gdata_picasaweb_service_query_all_albums_async (GDataPicasaWebService *self, GDa
  *
  * For more details, see gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -424,7 +424,7 @@ parse_spliced_stream (GOutputStream *output_stream, GError **error)
  * If there is a problem reading @file_data, an error from g_output_stream_splice() or g_file_query_info() will be returned. Other errors from
  * #GDataServiceError can be returned for other exceptional conditions, as determined by the server.
  *
- * Return value: the inserted #GDataPicasaWebFile with updated properties from @file_entry; unref with g_object_unref()
+ * Return value: (transfer full): the inserted #GDataPicasaWebFile with updated properties from @file_entry; unref with g_object_unref()
  *
  * Since: 0.4.0
  **/
@@ -503,7 +503,7 @@ gdata_picasaweb_service_upload_file (GDataPicasaWebService *self, GDataPicasaWeb
  * no user is authenticated with the service when trying to upload it,
  * %GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED will be set.
  *
- * Return value: the inserted #GDataPicasaWebFile; unref with
+ * Return value: (transfer full): the inserted #GDataPicasaWebFile; unref with
  * g_object_unref()
  *
  * Since: 0.6.0
@@ -654,7 +654,7 @@ error:
  * Inserts a new album described by @album. A user must be
  * authenticated to use this function.
  *
- * Return value: the inserted #GDataPicasaWebAlbum; unref with
+ * Return value: (transfer full): the inserted #GDataPicasaWebAlbum; unref with
  * g_object_unref()
  *
  * Since: 0.6.0
diff --git a/gdata/services/youtube/gdata-youtube-service.c b/gdata/services/youtube/gdata-youtube-service.c
index c93c40e..d285b69 100644
--- a/gdata/services/youtube/gdata-youtube-service.c
+++ b/gdata/services/youtube/gdata-youtube-service.c
@@ -449,7 +449,7 @@ standard_feed_type_to_feed_uri (GDataYouTubeStandardFeedType feed_type)
  *
  * Parameters and errors are as for gdata_service_query().
  *
- * Return value: a #GDataFeed of query results, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results, or %NULL; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_youtube_service_query_standard_feed (GDataYouTubeService *self, GDataYouTubeStandardFeedType feed_type, GDataQuery *query,
@@ -513,7 +513,7 @@ gdata_youtube_service_query_standard_feed_async (GDataYouTubeService *self, GDat
  *
  * Parameters and errors are as for gdata_service_query().
  *
- * Return value: a #GDataFeed of query results, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results, or %NULL; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_youtube_service_query_videos (GDataYouTubeService *self, GDataQuery *query,
@@ -576,7 +576,7 @@ gdata_youtube_service_query_videos_async (GDataYouTubeService *self, GDataQuery
  * If @video does not have a link with rel value <literal>http://gdata.youtube.com/schemas/2007#video.related</literal>, a
  * %GDATA_SERVICE_ERROR_PROTOCOL_ERROR error will be thrown. Parameters and other errors are as for gdata_service_query().
  *
- * Return value: a #GDataFeed of query results; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataFeed of query results; unref with g_object_unref()
  **/
 GDataFeed *
 gdata_youtube_service_query_related (GDataYouTubeService *self, GDataYouTubeVideo *video, GDataQuery *query,
@@ -667,7 +667,7 @@ gdata_youtube_service_query_related_async (GDataYouTubeService *self, GDataYouTu
  * If there is a problem reading @video_file, an error from g_file_load_contents() or g_file_query_info() will be returned. Other errors from
  * #GDataServiceError can be returned for other exceptional conditions, as determined by the server.
  *
- * Return value: the inserted #GDataYouTubeVideo with updated properties from @video; unref with g_object_unref()
+ * Return value: (transfer full): the inserted #GDataYouTubeVideo with updated properties from @video; unref with g_object_unref()
  **/
 GDataYouTubeVideo *
 gdata_youtube_service_upload_video (GDataYouTubeService *self, GDataYouTubeVideo *video, GFile *video_file, GCancellable *cancellable, GError **error)
@@ -784,7 +784,7 @@ gdata_youtube_service_get_youtube_user (GDataYouTubeService *self)
  *
  * The category labels (#GDataCategory:label) are localised based on the value of #GDataService:locale.
  *
- * Return value: a #GDataAPPCategories, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataAPPCategories, or %NULL; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
@@ -867,7 +867,7 @@ gdata_youtube_service_get_categories_async (GDataYouTubeService *self, GCancella
  *
  * Finishes an asynchronous request for a list of categories on YouTube, as started with gdata_youtube_service_get_categories_async().
  *
- * Return value: a #GDataAPPCategories, or %NULL; unref with g_object_unref()
+ * Return value: (transfer full): a #GDataAPPCategories, or %NULL; unref with g_object_unref()
  *
  * Since: 0.7.0
  **/
diff --git a/gdata/services/youtube/gdata-youtube-video.c b/gdata/services/youtube/gdata-youtube-video.c
index eee22fd..75a9721 100644
--- a/gdata/services/youtube/gdata-youtube-video.c
+++ b/gdata/services/youtube/gdata-youtube-video.c
@@ -1020,7 +1020,7 @@ gdata_youtube_video_get_rating (GDataYouTubeVideo *self, guint *min, guint *max,
  *
  * Gets the #GDataYouTubeVideo:keywords property.
  *
- * Return value: (array zero-terminated=1): a %NULL-terminated array of words associated with the video
+ * Return value: (array zero-terminated=1) (transfer none): a %NULL-terminated array of words associated with the video
  **/
 const gchar * const *
 gdata_youtube_video_get_keywords (GDataYouTubeVideo *self)



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