W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Using libwww with gnome/gtk+

From: Elliot Lee <sopwith@redhat.com>
Date: Wed, 1 Sep 1999 11:28:50 -0400 (EDT)
To: jose.kahan@w3.org
cc: James Henstridge <james@daa.com.au>, www-lib@w3.org
Message-ID: <Pine.LNX.4.10.9909011123490.32509-100000@lacrosse.corp.redhat.com>
On Wed, 1 Sep 1999 jose.kahan@w3.org wrote:

> One question, didn't you need to register the timers too with libwww?
> When I set up my X11 libwww interface in Amaya, I had to register them too,
> using:
> 
> 	   HTTimer_registerSetTimerCallback ();
> 	   HTTimer_registerDeleteTimerCallback ();
> 
> (Same principle as with HTEvent_setRegisterCallback).

I did an earlier, independant glib main loop hookup in GMF that
(theoretically) handles timers as well. See
http://cvs.gnome.org/lxr/source/gmf/filters/basic/gmf-filter-source-net/gmf-filter-source-net.c

Unfortunately, there's a bad hack or two in there that I couldn't see how
to implement any other way - someone with a better knowledge of libwww
certainly will be able to provide a cleaner implementation. I suspect
James will have a nice one inside gnorpm soon that everyone else can copy.

> One last interesting question, why are you using libwww instead of ghttp?

Because he's unconsciously listening to the ghttp author, who deprecated
that library in favor of libwww... :)

-- Elliot
The time for action is past! Now is the time for senseless bickering!
Received on Wednesday, 1 September 1999 11:28:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC