Commit f931f050 authored by Michael Natterer's avatar Michael Natterer 😴

libgimpconfig: support $(gimp_installation_dir) in config paths

parent 010b28f3
......@@ -366,6 +366,8 @@ gimp_config_path_expand_only (const gchar *path,
s = gimp_plug_in_directory ();
else if (strcmp (token, "gimp_sysconf_dir") == 0)
s = gimp_sysconf_directory ();
else if (strcmp (token, "gimp_installation_dir") == 0)
s = gimp_installation_directory ();
if (!s)
s = g_getenv (token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment