From da65738901cb38ba9df463f3fc1e6a9f12b962ab Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 2 May 2012 14:07:36 -0400 Subject: [PATCH] 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 --- src/ui/theme-parser.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c index 906354122..91d40276d 100644 --- a/src/ui/theme-parser.c +++ b/src/ui/theme-parser.c @@ -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--)