XForms: Timeout callback gets called twice...

Orn E. Hansen (oe.hansen@oehansen.pp.se)
Tue, 23 Sep 1997 18:33:24 +0200 (CET DST)

To subscribers of the xforms list from "Orn E. Hansen" <oe.hansen@oehansen.pp.se> :

Hi,

I have a simple routine that displays a form on the screen, and then
removes it after a second or two. I've noticed that the routine is
called twice... once after it has been removed from the timer.

void remove_form(int id, void *p)
{
FL_FORM *ob = (FL_FORM *)p;

puts("Removing");
if (fl_form_is_visible(ob))
fl_hide_form(ob);
}

results in...

Removing
Removing
In RemoveTimeout [timeout.c 69] ID 4 not found

----------------------------------------------------------------------------
Orn Einar Hansen oe.hansen@oehansen.pp.se
oehansen@daimi.aau.dk
voice+fax; +46 035 217194
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/