Re: [Libsigcx-main] bug in GtkDispatcher::timer_callback()
Status: Beta
Brought to you by:
rottmann
From: Andreas R. <a.r...@gm...> - 2004-10-08 15:48:35
|
"Klaus Triendl" <tri...@ao...> writes: > hi, > > while testing timeouting handlers in GtkDispatcher i found a bug > (version 0.6.4): > > in file gtk_dispatch.cc, line 50, the event (with its callback) is > erased from the map, but the callback is called a few lines later - > the handler gets never called because the slot object is not valid > anymore. > When you move the callback invocation before the removal loop code, does it work then? Cheers & Thanks, Rotty -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.r...@gm... http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 Say NO to Software Patents! -- http://petition.eurolinux.org/ |