13
0

YTK is not interested in system-wide GTK Modules

This commit is contained in:
Robin Gareus 2024-02-23 00:33:17 +01:00
parent 85e361044b
commit 64e42a465b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -689,21 +689,6 @@ do_pre_parse_initialization (int *argc,
env_string = NULL;
}
#endif /* G_ENABLE_DEBUG */
env_string = g_getenv ("GTK2_MODULES");
if (env_string)
gtk_modules_string = g_string_new (env_string);
env_string = g_getenv ("GTK_MODULES");
if (env_string)
{
if (gtk_modules_string)
g_string_append_c (gtk_modules_string, G_SEARCHPATH_SEPARATOR);
else
gtk_modules_string = g_string_new (NULL);
g_string_append (gtk_modules_string, env_string);
}
}
static void