Function
Gimppath_parse
unstable since: 3.0
Declaration [src]
GList*
gimp_path_parse (
const gchar* path,
gint max_paths,
gboolean check,
GList** check_failed
)
Parameters
path-
Type:
const gchar*A list of directories separated by #G_SEARCHPATH_SEPARATOR.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. max_paths-
Type:
gintThe maximum number of directories to return.
check-
Type:
gbooleanTRUEif you want the directories to be checked. check_failed-
Type: A list of
filenameReturns a `GList` of path elements for which the check failed.The argument will be set by the function. The caller of the function takes ownership of the data, and is responsible for freeing it. Each element is a file system path, using the OS encoding.