Function
GimpPathparse
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 returned data, and is responsible for freeing it. Each element is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.