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



commit da65738901cb38ba9df463f3fc1e6a9f12b962ab
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed May 2 14:07:36 2012 -0400

    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 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index 9063541..91d4027 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--)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]