mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
macos: style cleanup in gimp wrapper code
This commit is contained in:
parent
e41250394d
commit
41ff82acbf
1 changed files with 2 additions and 2 deletions
|
@ -347,7 +347,7 @@ gimp_macos_setenv (const char * progname)
|
||||||
{
|
{
|
||||||
tmp = g_strdup_printf ("%s/../share", app_dir);
|
tmp = g_strdup_printf ("%s/../share", app_dir);
|
||||||
res_dir = g_canonicalize_filename (tmp, NULL);
|
res_dir = g_canonicalize_filename (tmp, NULL);
|
||||||
g_free(tmp);
|
g_free (tmp);
|
||||||
if (res_dir && !stat (res_dir, &sb) && S_ISDIR (sb.st_mode))
|
if (res_dir && !stat (res_dir, &sb) && S_ISDIR (sb.st_mode))
|
||||||
{
|
{
|
||||||
g_free (res_dir);
|
g_free (res_dir);
|
||||||
|
@ -356,7 +356,7 @@ gimp_macos_setenv (const char * progname)
|
||||||
|
|
||||||
tmp = g_strdup_printf ("%s/..", app_dir); /* running in build dir */
|
tmp = g_strdup_printf ("%s/..", app_dir); /* running in build dir */
|
||||||
res_dir = g_canonicalize_filename (tmp, NULL);
|
res_dir = g_canonicalize_filename (tmp, NULL);
|
||||||
g_free(tmp);
|
g_free (tmp);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue