theme-parser: Don't load themes from our source tree

There aren't any mutter themes in the source tree. You're better off
using jhbuild with gnome-themes-standard.

https://bugzilla.gnome.org/show_bug.cgi?id=675316
This commit is contained in:
Jasper St. Pierre 2012-05-02 14:07:36 -04:00
parent 4528e1216a
commit da65738901

View File

@ -4282,20 +4282,6 @@ meta_theme_load (const char *theme_name,
retval = NULL;
if (meta_is_debugging ())
{
/* Try in themes in our source tree */
/* We try all supported major versions from current to oldest */
for (major_version = THEME_MAJOR_VERSION; (major_version > 0); major_version--)
{
theme_dir = g_build_filename ("./themes", theme_name, NULL);
retval = load_theme (theme_dir, theme_name, major_version, &error);
g_free (theme_dir);
if (!keep_trying (&error))
goto out;
}
}
/* We try all supported major versions from current to oldest */
for (major_version = THEME_MAJOR_VERSION; (major_version > 0); major_version--)
{