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 /desktop/netsurf.c | |
parent | b415c2f9ff8ff4938343237f50c97f31ce6d5a95 (diff) | |
download | netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.gz netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.bz2 |
stop system colours being anything to do with frontends
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index fa026dc6a..36b0b589a 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -39,6 +39,7 @@ #include "desktop/netsurf.h" #include "desktop/401login.h" #include "desktop/browser.h" +#include "desktop/system_colour.h" #include "desktop/gui.h" #include "utils/nsoption.h" #include "desktop/searchweb.h" @@ -211,7 +212,9 @@ nserror netsurf_init(const char *messages) hlcache_initialise(&hlcache_parameters); /* Initialize system colours */ - gui_system_colour_init(); + error = ns_system_colour_init(); + if (error != NSERROR_OK) + return error; js_initialise(); @@ -270,7 +273,7 @@ void netsurf_exit(void) urldb_destroy(); LOG(("Destroying System colours")); - gui_system_colour_finalize(); + ns_system_colour_finalize(); corestrings_fini(); LOG(("Remaining lwc strings:")); |