diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-10 14:32:29 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-10 14:32:29 +0000 |
commit | 277bcec7c6234823390903087dd553c9838c013c (patch) | |
tree | cb2e7af25272b3acce344756da5f6bc58c7c341a /css | |
parent | b415c2f9ff8ff4938343237f50c97f31ce6d5a95 (diff) | |
download | netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.gz netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.bz2 |
stop system colours being anything to do with frontends
Diffstat (limited to 'css')
-rw-r--r-- | css/css.c | 6 | ||||
-rw-r--r-- | css/select.c | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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; |