libgimpbase: fix a warning.

This gets rid of:

> libgimpbase/gimpenv.c:351:41: warning: initialization discards ‘const’ qualifier from pointer target type
This commit is contained in:
Jehan 2026-01-02 14:36:34 +01:00
parent 76af20811e
commit e41ae87b1d

View file

@ -348,7 +348,7 @@ gimp_directory (void)
if (g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS))
{ /* Linux flatpak version */
gchar *host_xdg_config_home = g_getenv ("HOST_XDG_CONFIG_HOME");
const gchar *host_xdg_config_home = g_getenv ("HOST_XDG_CONFIG_HOME");
if (host_xdg_config_home == NULL)
gimp_dir = g_build_filename (g_get_home_dir (),