gio: Add filename type annotations

https://bugzilla.gnome.org/show_bug.cgi?id=767245
This commit is contained in:
Christoph Reiter
2016-06-04 17:53:42 +02:00
committed by Christoph Reiter
parent 41013a01f4
commit f8189ddf98
13 changed files with 76 additions and 62 deletions

View File

@@ -1576,7 +1576,7 @@ g_file_info_get_is_symlink (GFileInfo *info)
*
* Gets the name for a file.
*
* Returns: a string containing the file name.
* Returns: (type filename): a string containing the file name.
**/
const char *
g_file_info_get_name (GFileInfo *info)
@@ -1921,7 +1921,7 @@ g_file_info_set_is_symlink (GFileInfo *info,
/**
* g_file_info_set_name:
* @info: a #GFileInfo.
* @name: a string containing a name.
* @name: (type filename): a string containing a name.
*
* Sets the name attribute for the current #GFileInfo.
* See %G_FILE_ATTRIBUTE_STANDARD_NAME.