summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/css.c6
-rw-r--r--css/select.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/css/css.c b/css/css.c
index 803906692..364511875 100644
--- a/css/css.c
+++ b/css/css.c
@@ -26,7 +26,7 @@
#include "content/hlcache.h"
#include "css/css.h"
#include "css/internal.h"
-#include "desktop/gui.h"
+#include "desktop/system_colour.h"
#include "render/html.h"
#include "utils/utils.h"
#include "utils/http.h"
@@ -221,7 +221,7 @@ static nserror nscss_create_css_data(struct content_css_data *c,
params.resolve_pw = NULL;
params.import = nscss_handle_import;
params.import_pw = c;
- params.color = gui_system_colour;
+ params.color = ns_system_colour;
params.color_pw = NULL;
params.font = NULL;
params.font_pw = NULL;
@@ -767,7 +767,7 @@ css_error nscss_register_import(struct content_css_data *c,
params.resolve_pw = NULL;
params.import = NULL;
params.import_pw = NULL;
- params.color = gui_system_colour;
+ params.color = ns_system_colour;
params.color_pw = NULL;
params.font = NULL;
params.font_pw = NULL;
diff --git a/css/select.c b/css/select.c
index 0202737b8..885cdecfd 100644
--- a/css/select.c
+++ b/css/select.c
@@ -26,7 +26,7 @@
#include "css/internal.h"
#include "css/select.h"
#include "css/utils.h"
-#include "desktop/gui.h"
+#include "desktop/system_colour.h"
#include "utils/nsoption.h"
#include "utils/corestrings.h"
#include "utils/log.h"
@@ -185,7 +185,7 @@ css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len,
params.resolve_pw = NULL;
params.import = NULL;
params.import_pw = NULL;
- params.color = gui_system_colour;
+ params.color = ns_system_colour;
params.color_pw = NULL;
params.font = NULL;
params.font_pw = NULL;