summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-04-15 23:53:54 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-04-15 23:53:54 +0100
commitbbb0f4c2b999d0f3730333f838a7df73e3775adc (patch)
tree8bd44c9cbf103c09f6602e72fe9caff6e262ee85
parent6557bae1a22a5522a363818a4808bf440e900014 (diff)
downloadnetsurf-bbb0f4c2b999d0f3730333f838a7df73e3775adc.tar.gz
netsurf-bbb0f4c2b999d0f3730333f838a7df73e3775adc.tar.bz2
The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns.
-rw-r--r--amiga/gui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index c3a163fe6..fbe46d0b5 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2462,7 +2462,11 @@ printf("sig recvd %ld (%ld %ld %ld %ld %ld %ld)\n", signal, winsignal , appsig ,
static void ami_gui_fetch_callback(void *p)
{
- hlcache_poll();
+ /* This doesn't need to do anything - the scheduled event will
+ * send a message to trigger Wait() to return, thereby causing
+ * the event function to return, and NetSurf to call
+ * hlcache_poll() as part of the usual fetch/event loop.
+ */
}
void gui_poll(bool active)