[Mono-dev] gnunit and gnunit2 in the latest mono-tools

Miguel de Icaza miguel at novell.com
Fri Feb 16 08:50:01 EST 2007


Hello,

> If I try to run either of these apps (under Linux), I get the following
> throwback

A few months ago we fixed an issue in Mono's method binding that made it
correct, but also broke some applications that depended on the weaker
(and incorrect) method binding.

You must use the proper signature for your event handler.

> GTK Accessibility Module initialized
> Bonobo accessibility support initialized
> 
> Unhandled Exception: Glade.HandlerNotFoundException: The handler for the
> event DeleteEvent should take '(System.Object,Gtk.DeleteEventArgs)', but
> the signature of the provided handler ('OnWindowDelete') is
> '(System.Object,System.EventArgs)'
> 
> at SignalConnector.ConnectFunc
> (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x0048e>
> at (wrapper native-to-managed) SignalConnector.ConnectFunc
> (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x0008f>
> in (unmanaged) 0x378be096c5
> at (wrapper managed-to-native)
> SignalConnector.glade_xml_signal_autoconnect_full
> (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0x0000e>
> at SignalConnector.Autoconnect () <0x0006f>
> at Glade.XML.Autoconnect (object) <0x00058>
> at Mono.NUnit.GUI.NUnitGUI..ctor (string[],object[]) <0x00179>
> at Mono.NUnit.GUI.NUnitGUI.Main (string[]) <0x00054>
> 
> Anyone else seeing this?
> 
> TTFN
> 
> Paul
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list