From bf202492f94f0db33e35ead79b897e6cc9ad8817 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 8 Nov 2003 21:47:10 +0000 Subject: [project @ 2003-11-08 21:47:10 by jmb] Sync Info box and About Page version numbers. If no version is specified in the Messages file, it defaults to "CVS Test Build" Remove unnecessary TODOs in plugin.c svn path=/import/netsurf/; revision=415 --- riscos/plugin.c | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'riscos/plugin.c') diff --git a/riscos/plugin.c b/riscos/plugin.c index a91bd1b37..0d8aac1c1 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -206,10 +206,7 @@ void plugin_add_instance(struct content *c, struct browser_window *bw, return; } - /* wait for wimp poll - TODO - we should probably give up after a short time - otherwise we'll be stuck in this loop forever - */ + /* wait for wimp poll */ while(temp->poll == 0) gui_poll(true); @@ -251,10 +248,7 @@ void plugin_add_instance(struct content *c, struct browser_window *bw, return; } - /* wait for wimp poll - TODO - we should probably give up after a short time - otherwise we'll be stuck in this loop forever - */ + /* wait for wimp poll */ while(temp->poll == 0) gui_poll(true); @@ -365,10 +359,7 @@ void plugin_remove_instance(struct content *c, struct browser_window *bw, xwimp_send_message(wimp_USER_MESSAGE_RECORDED, &m, (wimp_t)params->plugin_task); - /* wait for wimp poll - TODO - we should probably give up after a short time - otherwise we'll be stuck in this loop forever - */ + /* wait for wimp poll */ while (temp == 0) gui_poll(true); @@ -784,10 +775,7 @@ void plugin_create_stream(struct browser_window *bw, struct object_params *param LOG(("Sending message &4D548")); xwimp_send_message(wimp_USER_MESSAGE_RECORDED, &m, (wimp_t)params->plugin_task); - /* wait for wimp poll - TODO - we should probably give up after a short time - otherwise we'll be stuck in this loop forever - */ + /* wait for wimp poll */ while(temp->poll == 0) gui_poll(true); @@ -846,10 +834,7 @@ void plugin_write_stream(struct browser_window *bw, struct object_params *params LOG(("Sending message &4D54A")); xwimp_send_message(wimp_USER_MESSAGE_RECORDED, &m, (wimp_t)params->plugin_task); - /* wait for wimp poll - TODO - we should probably give up after a short time - otherwise we'll be stuck in this loop forever - */ + /* wait for wimp poll */ while(temp->poll == 0) gui_poll(true); -- cgit v1.2.3