[gtk/matthiasc/css-change-tracking-4: 5/20] Add an Empty theme for tests



commit 98644d5cfc82ad8a9b456a2f8b4957414bc86a71
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 17 17:42:06 2020 -0500

    Add an Empty theme for tests

 gtk/gen-gtk-gresources-xml.py | 1 +
 gtk/theme/Empty/gtk.css       | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index 846b27dd0b..95bccf9268 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -17,6 +17,7 @@ def get_files(subdir,extension):
   return sorted(filter(lambda x: x.endswith((extension)), os.listdir(os.path.join(srcdir,subdir))))
 
 xml += '''
+    <file>theme/Empty/gtk.css</file>
     <file>theme/Adwaita/gtk.css</file>
     <file>theme/Adwaita/gtk-dark.css</file>
     <file>theme/Adwaita/gtk-contained.css</file>
diff --git a/gtk/theme/Empty/gtk.css b/gtk/theme/Empty/gtk.css
new file mode 100644
index 0000000000..0ce59473e9
--- /dev/null
+++ b/gtk/theme/Empty/gtk.css
@@ -0,0 +1 @@
+/* this is used in tests */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]