mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-02 22:22:09 +01:00
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:
parent
f8ff1049d3
commit
ac1166626c
@ -751,7 +751,7 @@ g_file_has_parent (GFile *file,
|
||||
/**
|
||||
* g_file_get_child:
|
||||
* @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.
|
||||
*
|
||||
@ -886,7 +886,7 @@ g_file_get_relative_path (GFile *parent,
|
||||
/**
|
||||
* g_file_resolve_relative_path:
|
||||
* @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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user