mirror of https://github.com/GNOME/gimp.git
gimp_macos_setenv: set GI_TYPELIB_PATH macos
This sets the GI_TYPELIB_PATH so that macOS gobject-introspection can find the typelib files.
This commit is contained in:
parent
5ca9a38ea4
commit
6821636a7b
|
@ -396,6 +396,9 @@ gimp_macos_setenv (const char * progname)
|
|||
tmp = g_strdup_printf ("%s/share", res_dir);
|
||||
g_setenv ("XDG_DATA_DIRS", tmp, TRUE);
|
||||
g_free (tmp);
|
||||
tmp = g_strdup_printf ("%s/lib/girepository-1.0", res_dir);
|
||||
g_setenv ("GI_TYPELIB_PATH", tmp, TRUE);
|
||||
g_free (tmp);
|
||||
if (g_getenv ("HOME") != NULL)
|
||||
{
|
||||
tmp = g_strdup_printf ("%s/Library/Application Support/GIMP/3.00/cache",
|
||||
|
|
Loading…
Reference in New Issue