diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-01-30 13:40:47 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-01-30 13:40:47 +0000 |
commit | fbb1139214f3c4fa7925c572eca05e27873e05ea (patch) | |
tree | d076cc1b3e3425aebf24728182594730e2060413 /desktop/netsurf.c | |
parent | 42f89d4e0b35bbe768918305b624e20ef654d619 (diff) | |
download | netsurf-fbb1139214f3c4fa7925c572eca05e27873e05ea.tar.gz netsurf-fbb1139214f3c4fa7925c572eca05e27873e05ea.tar.bz2 |
add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index fc51a99e0..d0b57b569 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -152,6 +152,9 @@ nserror netsurf_init(int *pargc, llcache_initialise(netsurf_llcache_query_handler, NULL); + /* Initialize system colours */ + gui_system_colour_init(); + return NSERROR_OK; } @@ -177,20 +180,31 @@ void netsurf_exit(void) { LOG(("Closing GUI")); gui_quit(); + LOG(("Closing search and related resources")); search_web_cleanup(); + LOG(("Finalising high-level cache")); hlcache_finalise(); + LOG(("Finalising low-level cache")); llcache_finalise(); + LOG(("Closing fetches")); fetch_quit(); + LOG(("Closing utf8")); utf8_finalise(); + LOG(("Destroying URLdb")); urldb_destroy(); + + LOG(("Destroying System colours")); + gui_system_colour_finalize(); + LOG(("Remaining lwc strings:")); lwc_iterate_strings(netsurf_lwc_iterator, NULL); + LOG(("Exited successfully")); } |