libgimpconfig: add gimp_config_path_expand_to_files()

which returns a list of newly allocated GFiles.
This commit is contained in:
Michael Natterer
2014-07-15 23:11:27 +02:00
parent 35466d6dd0
commit 32f29db8b0
3 changed files with 51 additions and 0 deletions

View File

@ -77,6 +77,8 @@ GimpConfigPathType gimp_param_spec_config_path_type (GParamSpec *pspec);
gchar * gimp_config_path_expand (const gchar *path,
gboolean recode,
GError **error) G_GNUC_MALLOC;
GList * gimp_config_path_expand_to_files (const gchar *path,
GError **error) G_GNUC_MALLOC;
gchar * gimp_config_build_data_path (const gchar *name) G_GNUC_MALLOC;
gchar * gimp_config_build_writable_path (const gchar *name) G_GNUC_MALLOC;