----- 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)
|