summaryrefslogtreecommitdiff
path: root/gdk/gen-gdk-gresources-xml.py
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-04-26 14:41:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-04-26 14:41:52 -0400
commit7eeeb3f22978daa1bf7f51df0b915b6ab2821eb3 (patch)
treeb5031c3150c7761b4c81fbe7053b6f59f467ce3d /gdk/gen-gdk-gresources-xml.py
parent7ca8efa0f5441643f807b71f77873c025025c10c (diff)
downloadgtk+-7eeeb3f22978daa1bf7f51df0b915b6ab2821eb3.tar.gz
gdk: Include a default cursor as resource
Provide a fallback cursor of last resort. Otherwise, we end up with no visible cursor if there is no cursor theme installed, wihch is less than helpful.
Diffstat (limited to 'gdk/gen-gdk-gresources-xml.py')
-rw-r--r--gdk/gen-gdk-gresources-xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gen-gdk-gresources-xml.py b/gdk/gen-gdk-gresources-xml.py
index 11c63552a9..bc0e541919 100644
--- a/gdk/gen-gdk-gresources-xml.py
+++ b/gdk/gen-gdk-gresources-xml.py
@@ -25,7 +25,7 @@ srcdir = sys.argv[1]
xml = '''<?xml version='1.0' encoding='UTF-8'?>
<gresources>
<gresource prefix='/org/gtk/libgdk'>
-
+ <file alias='cursor/default'>default_cursor.png</file>
'''
def get_files(subdir,extension):