From 67ded2a02a4f3f4d2a0ab156f3343dc93f4ba04c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 19 Jun 2015 16:29:42 +0100 Subject: This moves message loading out of netsurf_init into each frontend The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file. --- desktop/netsurf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index bf8ff86aa..0fd7b7bbd 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -122,7 +122,7 @@ static nserror netsurf_llcache_query_handler(const llcache_query *query, } /* exported interface documented in desktop/netsurf.h */ -nserror netsurf_init(const char *messages, const char *store_path) +nserror netsurf_init(const char *store_path) { nserror ret; struct hlcache_parameters hlcache_parameters = { @@ -151,8 +151,6 @@ nserror netsurf_init(const char *messages, const char *store_path) signal(SIGPIPE, SIG_IGN); #endif - messages_load(messages); - /* corestrings init */ ret = corestrings_init(); if (ret != NSERROR_OK) -- cgit v1.2.3