W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

libwww with glib/gtk+

From: James Henstridge <james@daa.com.au>
Date: Fri, 22 Oct 1999 12:47:26 +0800 (WST)
To: Libwww mailing list <www-lib@w3.org>
Message-ID: <Pine.LNX.3.96.991022123923.6427U-100000@quoll.daa.com.au>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT