[gtk/wip/kalev/pre-compiled-css-detection] build: Fix detection for pre-compiled css files
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/kalev/pre-compiled-css-detection] build: Fix detection for pre-compiled css files
- Date: Mon, 23 Aug 2021 13:44:01 +0000 (UTC)
commit c4266327ce7a76558f238692e0e8a4e5788fa646
Author: Kalev Lember <klember redhat com>
Date: Mon Aug 23 15:38:46 2021 +0200
build: Fix detection for pre-compiled css files
The default theme changed from Adwaita to Default and this tripped up
the logic to detect if the tarball builds contain pre-built css files or
not. Fix this by looking at pre-compiled css files in themes/Default/
instead of themes/Adwaita/.
gtk/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index fa66764c50..4ba89f2298 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -842,7 +842,7 @@ gtk_gresources_xml = configure_file(output: 'gtk.gresources.xml',
theme_deps = []
# For git checkouts, but not for tarballs...
-if not fs.exists('theme/Adwaita/Adwaita.css')
+if not fs.exists('theme/Default/gtk-light.css')
# ... build the theme files
sassc = find_program('sassc', required: false)
if not sassc.found()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]