gio: Add missing (type filename) annotations

These differentiate between strings in the GLib filename encoding, and
strings in UTF-8.

https://bugzilla.gnome.org/show_bug.cgi?id=700756
This commit is contained in:
Philip Withnall 2016-06-15 11:03:31 -04:00
parent f8ff1049d3
commit ac1166626c

View File

@ -751,7 +751,7 @@ g_file_has_parent (GFile *file,
/** /**
* g_file_get_child: * g_file_get_child:
* @file: input #GFile * @file: input #GFile
* @name: string containing the child's basename * @name: (type filename): string containing the child's basename
* *
* Gets a child of @file with basename equal to @name. * Gets a child of @file with basename equal to @name.
* *
@ -886,7 +886,7 @@ g_file_get_relative_path (GFile *parent,
/** /**
* g_file_resolve_relative_path: * g_file_resolve_relative_path:
* @file: input #GFile * @file: input #GFile
* @relative_path: a given relative path string * @relative_path: (type filename): a given relative path string
* *
* Resolves a relative path for @file to an absolute path. * Resolves a relative path for @file to an absolute path.
* *