summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-13 01:18:19 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-13 01:18:19 +0100
commitbfc7552d8dcc0c737c8282280c4a3f71cf58aed4 (patch)
tree9cae952ac46a45743aebbf4a47f8f7ce77070bd4 /desktop/netsurf.c
parentd0655bafc26d30f0e792202ff452907a5ff193d1 (diff)
downloadnetsurf-bfc7552d8dcc0c737c8282280c4a3f71cf58aed4.tar.gz
netsurf-bfc7552d8dcc0c737c8282280c4a3f71cf58aed4.tar.bz2
remove netsurf_poll callback and netsurf main loop
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c14
1 files changed, 0 insertions, 14 deletions
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)));
@@ -252,18 +250,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.
*/