summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/theme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 51be390d..3a623f9e 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -75,8 +75,6 @@
((int)((color).green * 255) << 8) | \
((int)((color).blue * 255))))
-#define ALPHA_TO_UCHAR(d) ((unsigned char) ((d) * 255))
-
#define DEBUG_FILL_STRUCT(s) memset ((s), 0xef, sizeof (*(s)))
#define CLAMP_UCHAR(v) ((guchar) (CLAMP (((int)v), (int)0, (int)255)))
#define INTENSITY(r, g, b) ((r) * 0.30 + (g) * 0.59 + (b) * 0.11)