Re: gtkaction: wrong action removed from proxy



Am Sam, 2003-09-06 um 21.58 schrieb David Hampton:
> The gtk_action_connect_proxy() function has a bug where it doesn't
> disconnect actions from proxies correctly.  It goes to the trouble of
> looking up the old action, then doesn't remove it before assigning the
> new action.  This leaves action callbacks on the proxy that may point to
> objects that no longer exist.  I've attached a patch below.
> 
> David
> 
> P.S. This is a patch from gtk HEAD.  Should I submit a patch for the
> libegg version of this code too?
> 

Not necessary, I fixed them both. Thanks for the patch.

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]