GFile* valent_get_user_file ( const char* dirname, const char* basename, gboolean unique )
A convenience for creating a
unique is true, the returned file is guaranteed not to exist. If
basename exists in
dirname, the resulting file’s name will have a
parenthesized number appended to it (e.g.
Available since: 1.0
A directory path.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
A file name.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.
Whether the resulting filepath should be unique.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|