summaryrefslogtreecommitdiff
path: root/gtk/gen-gtk-gresources-xml.py
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-20 06:53:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-20 08:06:07 -0400
commit806c659efe3a8f2ebc4a5201f7152636edf3bb49 (patch)
tree3e524041921a0089df0c823c7a3e57eae64bf875 /gtk/gen-gtk-gresources-xml.py
parent51873ebe37de5defd160d8f15dd833b16043b602 (diff)
downloadgtk+-806c659efe3a8f2ebc4a5201f7152636edf3bb49.tar.gz
Drop unused old icons
We don't need to ship the deprecated old stock-id named icons and the drag cursors - we don't use them from resources anyway.
Diffstat (limited to 'gtk/gen-gtk-gresources-xml.py')
-rw-r--r--gtk/gen-gtk-gresources-xml.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index aca3ad8ce7..10478e4c76 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -51,11 +51,6 @@ xml += '''
<file>theme/win32/gtk.css</file>
'''
-for f in get_files('cursor', '.png'):
- xml += ' <file>cursor/{0}</file>\n'.format(f)
-
-xml += '\n'
-
for f in get_files('gesture', '.symbolic.png'):
xml += ' <file alias=\'icons/64x64/actions/{0}\'>gesture/{0}</file>\n'.format(f)
@@ -66,13 +61,6 @@ for f in get_files('ui', '.ui'):
xml += '\n'
-for s in ['16x16', '22x22', '24x24', '32x32', '48x48']:
- for c in ['actions', 'status']:
- icons_dir = 'icons/{0}/{1}'.format(s,c)
- if os.path.exists(os.path.join(srcdir,icons_dir)):
- for f in get_files(icons_dir, '.png'):
- xml += ' <file>icons/{0}/{1}/{2}</file>\n'.format(s,c,f)
-
for f in get_files('inspector', '.ui'):
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)