summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-16 09:48:09 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-16 22:33:43 +0100
commitd06df231bc7c49e0f46ffc8fc8674d0717dff202 (patch)
treeeb51dc949f5e062c6a9b4adef33adbe591e99518 /desktop/netsurf.c
parentab7f3e31800ade0cec9c071e61cc001ee9470f69 (diff)
downloadnetsurf-d06df231bc7c49e0f46ffc8fc8674d0717dff202.tar.gz
netsurf-d06df231bc7c49e0f46ffc8fc8674d0717dff202.tar.bz2
Update the core to use the split operations table headers
Second in the series to decouple the core API usage from the frontends.
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 39cee2e2b..328035ff5 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -46,12 +46,13 @@
#include "render/html.h"
#include "render/textplain.h"
-#include "desktop/netsurf.h"
#include "desktop/version.h"
#include "desktop/browser.h"
#include "desktop/system_colour.h"
#include "desktop/searchweb.h"
-#include "desktop/gui_factory.h"
+#include "desktop/gui_misc.h"
+#include "desktop/gui_internal.h"
+#include "desktop/netsurf.h"
/** speculative pre-conversion small image size
*
@@ -118,13 +119,6 @@ static nserror netsurf_llcache_query_handler(const llcache_query *query,
}
/* exported interface documented in desktop/netsurf.h */
-nserror netsurf_register(struct netsurf_table *table)
-{
- /* register the operation handlers */
- return gui_factory_register(table);
-}
-
-/* exported interface documented in desktop/netsurf.h */
nserror netsurf_init(const char *messages, const char *store_path)
{
nserror ret;