Permalink
Browse files

libgimpconfig: support $(gimp_installation_dir) in config paths

  • Loading branch information...
1 parent 010b28f commit f931f0500639fc21912a549477befe63b4998f60 @mitchfoo mitchfoo committed May 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 libgimpconfig/gimpconfig-path.c
@@ -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);

0 comments on commit f931f05

Please sign in to comment.