Function

GimpPathparse

deprecated: 3.4 

Declaration [src]

GList*
gimp_path_parse (
  const gchar* path,
  gint max_paths,
  gboolean check,
  GList** check_failed
)

Description

No description available.

Deprecated since: 3.4

Use gimp_parse_search_path() instead.

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 platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.
max_paths

Type: gint

The maximum number of directories to return.

check

Type: gboolean

TRUE if you want the directories to be checked.

check_failed

Type: A list of filename

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.

Return value

Type: A list of filename

A GList of all directories in path.

The caller of the function takes ownership of the 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.