[Gtk-sharp-list] bug: Removing event handlers
05 Feb 2003 19:38:38 -0500
On Wed, 2003-02-05 at 09:16, Gonzalo Paniagua Javier wrote:
> El mié, 05-02-2003 a las 15:40, Lee Mallabone escribió:
> > When I use:
> > button.Clicked -= new EventHandler(handler1);
> > the handler is not actually removed, and still receives events from the
> > button.
> Here's the magic quick fix ;-).
> The patch attached adds a couple of methods in SignalCallback.cs to
> add/remove a delegate from the _handle.
I've applied this patch to my local copy of Gtk# 0.7, done a 'make clean' and rebuilt/reinstalled, but the problem seems to remain.
My eventtest.cs still fires both event handlers...
Do I need to be running the cvs version of gtk-sharp for the patch to take proper effect?
Lee Mallabone <firstname.lastname@example.org>