the variable used to define GTK2 RC files is GTK2_RC_FILES not GTK_RC_FILES (it was changed in GTK+ back in 2002

This commit is contained in:
Paul Davis 2015-12-07 12:38:11 -05:00
parent 3d79e3c116
commit dafb9ee0e6
4 changed files with 8 additions and 8 deletions

View file

@ -105,10 +105,10 @@ fixup_bundle_environment (int, char* [], string & localedir)
g_setenv ("SUIL_MODULE_DIR", (bundle_dir + "/lib").c_str(), 1);
g_setenv ("PATH", (bundle_dir + "/MacOS:" + std::string(g_getenv ("PATH"))).c_str(), 1);
/* unset GTK_RC_FILES so that we only load the RC files that we define
/* unset GTK2_RC_FILES so that we only load the RC files that we define
*/
g_unsetenv ("GTK_RC_FILES");
g_unsetenv ("GTK2_RC_FILES");
g_setenv ("CHARSETALIASDIR", bundle_dir.c_str(), 1);
g_setenv ("FONTCONFIG_FILE", Glib::build_filename (bundle_dir, "Resources/fonts.conf").c_str(), 1);
}