tag: improve gobject-introspection annotations

This commit is contained in:
Tim-Philipp Müller 2012-04-29 17:16:38 +01:00
parent f342d956af
commit 9c09fbda52
4 changed files with 9 additions and 7 deletions

View file

@ -646,8 +646,9 @@ gst_tag_to_metadata_block_picture (const gchar * tag,
* Creates a new tag list that contains the information parsed out of a
* vorbiscomment packet.
*
* Returns: A #GList of newly-allocated key=value strings. Free with
* g_list_foreach (list, (GFunc) g_free, NULL) plus g_list_free (list)
* Returns: (element-type utf8) (transfer full): A #GList of newly-allocated
* key=value strings. Free with g_list_foreach (list, (GFunc) g_free, NULL)
* plus g_list_free (list)
*/
GList *
gst_tag_to_vorbis_comments (const GstTagList * list, const gchar * tag)

View file

@ -60,7 +60,8 @@ static const gchar *schema_list[] = {
*
* Gets the list of supported schemas in the xmp lib
*
* Returns: a %NULL terminated array of strings with the schema names
* Returns: (transfer none): a %NULL terminated array of strings with the
* schema names
*
* Since: 0.10.33
*/

View file

@ -266,8 +266,8 @@ qsort_strcmp_func (const void *p1, const void *p2)
* tagging purposes (e.g. to tag an audio track appropriately in a video or
* audio editor).
*
* Returns: NULL-terminated string array with two-letter language codes. Free
* with g_strfreev() when no longer needed.
* Returns: (transfer full): NULL-terminated string array with two-letter
* language codes. Free with g_strfreev() when no longer needed.
*
* Since: 0.10.26
*/

View file

@ -201,8 +201,8 @@ static const gchar jurisdictions[] =
* (e.g. to tag an audio track appropriately in a video or audio editor, or
* an image in a camera application).
*
* Returns: NULL-terminated array of license strings. Free with g_strfreev()
* when no longer needed.
* Returns: (transfer full): NULL-terminated array of license strings. Free
* with g_strfreev() when no longer needed.
*
* Since: 0.10.36
*/