summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2021-08-23 15:38:46 +0200
committerKalev Lember <klember@redhat.com>2021-08-23 15:41:14 +0200
commitc4266327ce7a76558f238692e0e8a4e5788fa646 (patch)
treecb9644e616d84d066a309e06c6ebdf040675c2e4
parent1310bf02189e404be96bdb5d38cf62bfa4da23eb (diff)
downloadgtk+-wip/kalev/pre-compiled-css-detection.tar.gz
build: Fix detection for pre-compiled css fileswip/kalev/pre-compiled-css-detection
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/.
-rw-r--r--gtk/meson.build2
1 files changed, 1 insertions, 1 deletions
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()