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/.
This commit is contained in:
Kalev Lember
2021-08-23 15:38:46 +02:00
parent 1310bf0218
commit 552a4b2c82

View File

@@ -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/Default-light.css')
# ... build the theme files
sassc = find_program('sassc', required: false)
if not sassc.found()