[metacity] theme: don't load themes from our source tree
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] theme: don't load themes from our source tree
- Date: Sat, 23 Jan 2016 18:16:33 +0000 (UTC)
commit 84a9986e97a30321d28abf1c99760229bb996c52
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Jan 23 17:30:29 2016 +0200
theme: don't load themes from our source tree
src/ui/theme-parser.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index 966312c..1d4869a 100644
--- a/src/ui/theme-parser.c
+++ b/src/ui/theme-parser.c
@@ -4034,19 +4034,6 @@ meta_theme_load (const char *theme_name,
retval = NULL;
- if (meta_is_debugging ())
- {
- /* 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);
-
- 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]