mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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:
parent
4528e1216a
commit
da65738901
@ -4281,20 +4281,6 @@ meta_theme_load (const char *theme_name,
|
||||
int i;
|
||||
|
||||
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--)
|
||||
|
Loading…
Reference in New Issue
Block a user