summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-04-15 23:47:01 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-04-15 23:47:01 +0100
commit83af8b35b248f877177e72d667d903c5bd13f6c3 (patch)
tree975be7f5cdab3b8fb35ddbf07e744b9de7311f3e /desktop/netsurf.c
parentdcbbe9901e56f566f012e87651cc17f387cdcdf1 (diff)
parent6557bae1a22a5522a363818a4808bf440e900014 (diff)
downloadnetsurf-83af8b35b248f877177e72d667d903c5bd13f6c3.tar.gz
netsurf-83af8b35b248f877177e72d667d903c5bd13f6c3.tar.bz2
Merge branch 'chris/scheduled-fetches' of git://git.netsurf-browser.org/netsurf into chris/scheduled-fetches
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 120bda9e3..0b1cffe0a 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -27,7 +27,6 @@
#include <libwapcaplet/libwapcaplet.h>
#include "utils/config.h"
-#include "utils/schedule.h"
#include "utils/utsname.h"
#include "content/content_factory.h"
#include "content/fetch.h"
@@ -240,10 +239,6 @@ nserror netsurf_init(int *pargc,
return ret;
}
-static void netsurf_fetch_callback(void *p)
-{
- hlcache_poll();
-}
/**
* Gui NetSurf main loop.
@@ -251,8 +246,6 @@ static void netsurf_fetch_callback(void *p)
int netsurf_main_loop(void)
{
while (!netsurf_quit) {
- if(fetch_active)
- schedule(0, netsurf_fetch_callback, NULL);
gui_poll(fetch_active);
hlcache_poll();
}