summaryrefslogtreecommitdiff
path: root/desktop/system_colour.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/system_colour.c')
-rw-r--r--desktop/system_colour.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/system_colour.c b/desktop/system_colour.c
index 7b4fded38..4ef170981 100644
--- a/desktop/system_colour.c
+++ b/desktop/system_colour.c
@@ -23,6 +23,7 @@
#include "utils/utils.h"
#include "utils/log.h"
+#include "css/utils.h"
#include "desktop/gui.h"
#include "utils/nsoption.h"
@@ -82,8 +83,6 @@ colour gui_system_colour_char(const char *name)
return ret;
}
-#define ns_color_to_nscss(c) (((0xff - (((c) >> 24) & 0xff)) << 24) | ((c) & 0xFF00) | (((c) >> 16) & 0xFF) | (((c) & 0xFF) << 16))
-
css_error gui_system_colour(void *pw, lwc_string *name, css_color *colour)
{
unsigned int ccount;