Ben Hutchings wrote:
As it is, the loop never exits. My actual code for on_net_state_change includes some output statments which report its arguments. They show that it is never called with the REQUEST and STOP flags. If I remove the loop, it is called with these flags during the next call to DispatchEvent.
Oh, hmm.... Does spinning the GTK event loop end up spinning the mozilla event loop too, here? That is, is PL_ProcessEvents getting called while you spin the event loop?
-Boris _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding