Re: [Libsigcx-main] bug in GtkDispatcher::timer_callback()
Status: Beta
Brought to you by:
rottmann
From: klaus t. <tri...@ao...> - 2004-10-09 17:03:09
|
----- Original von: Andreas Rottmann <a.r...@gm...>: > > "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 yes, it works then; what i did was assigning the callback to a local copy which i called at the end of the method. can you please tell me when you release a new version (debian package)? because then i would make my program dependant on that new package version. thx! -- http://triendl.info klaus triendl ------------------------------------------- Versendet durch AonWebmail (webmail.aon.at) |