From bfc7552d8dcc0c737c8282280c4a3f71cf58aed4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Oct 2014 01:18:19 +0100 Subject: remove netsurf_poll callback and netsurf main loop --- desktop/netsurf.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 579648bae..78ec8ab4c 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -84,8 +84,6 @@ */ #define MINIMUM_MEMORY_CACHE_SIZE (2 * 1024 * 1024) -bool netsurf_quit = false; - static void netsurf_lwc_iterator(lwc_string *str, void *pw) { LOG(("[%3u] %.*s", str->refcnt, (int) lwc_string_length(str), lwc_string_data(str))); @@ -251,18 +249,6 @@ nserror netsurf_init(const char *messages, const char *store_path) } -/** - * Gui NetSurf main loop. - */ -int netsurf_main_loop(void) -{ - while (!netsurf_quit) { - guit->browser->poll(false); - } - - return 0; -} - /** * Clean up components used by gui NetSurf. */ -- cgit v1.2.3