summaryrefslogtreecommitdiff
path: root/gtk/gen-gtk-gresources-xml.py
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-29 15:51:14 +0100
committerMatthias Clasen <mclasen@redhat.com>2021-12-14 01:51:22 -0500
commit1cc3c019e69f3ec86cf38a9f5ecb3b9cf8d814da (patch)
tree3e7e6a3c0156f4f7cf46755253762ab051202fad /gtk/gen-gtk-gresources-xml.py
parent319aa558a52f07602c732ded8385ef9708fe6b16 (diff)
downloadgtk+-builder-precompile.tar.gz
Include precompiled versions of .ui filesbuilder-precompile
These are smaller, and a faster to process than .ui files.
Diffstat (limited to 'gtk/gen-gtk-gresources-xml.py')
-rw-r--r--gtk/gen-gtk-gresources-xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index 179761a154..427623fb00 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -66,7 +66,7 @@ for f in get_files('theme/Default/assets-hc', '.svg'):
xml += ' <file preprocess=\'xml-stripblanks\'>theme/Default/assets-hc/{0}</file>\n'.format(f)
for f in get_files('ui', '.ui'):
- xml += ' <file>ui/{0}</file>\n'.format(f)
+ xml += ' <file alias="ui/{0}">ui/{0}.precompiled</file>\n'.format(f)
xml += '\n'