Function
GimpConfigPathexpand
Declaration [src]
gchar*
gimp_config_path_expand (
const gchar* path,
gboolean recode,
GError** error
)
Description [src]
Paths as stored in gimprc and other config files have to be treated special. The string may contain special identifiers such as for example ${gimp_dir} that have to be substituted before use. Also the user’s filesystem may be in a different encoding than UTF-8 (which is what is used for the gimprc). This function does the variable substitution for you and can also attempt to convert to the filesystem encoding.
To reverse the expansion, use gimp_config_path_unexpand().
Available since: | 2.4 |