libwww with glib/gtk+

A while back I posted about using libwww with gtk+.  I have the HTEvent
and HTTimer interfaces implemented correctly now, and was looking at
implementing some of the alert dialogs.

Since I am implementing them in gtk, the event loop runs while the dialog
is on screen waiting for the user's input.  This also means that libwww
events and timers can be processed while the dialog is on screen (ie.
event and timer handlers will be called before the alert callback
function has returned). When this happens however, I get a segfault in
libwww.

Should I expect libwww to handle this condition, or do I have to write 
some code to suspend the HTEvents and HTTimers while the dialog is on
screen?

BTW, if anyone is interested in the code I do have, it is available under
gnorpm/glibwww in the GNOME CVS tree, and is browseable at
  http://cvs.gnome.org/lxr/source/gnorpm/glibwww/

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/

Received on Friday, 22 October 1999 00:36:11 UTC