[Gtk-sharp-list] Glade# handler issue

J. Gerdes josh_gerdes@yahoo.com
Mon, 2 Feb 2004 17:52:11 -0800 (PST)


I am using Glade# for windows v2.0.1 and I have a
problem when trying to assign the same event handler
to two different buttons.  I have added the signal
clicked to both buttons with the the same handler.  It
works fine if I have just one button associated with
the handler.  Here's the error I get when running the
application:

Unhandled Exception: System.NullReferenceException: A
null value was found where
 an object instance was required
in (unmanaged) (wrapper managed-to-native)
.SignalConnector:glade_xml_signal_aut
oconnect_full
(intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in <0x00004> (wrapper managed-to-native)
.SignalConnector:glade_xml_signal_autoc
onnect_full
(intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in <0x00052> .SignalConnector:Autoconnect ()
in <0x0003d> Glade.XML:Autoconnect (object)
in <0x00056> Gerdes.Apps.GladeCalc:.ctor (string[])
in <0x00026> Gerdes.Apps.GladeCalc:Main (string[])


Any thoughts?

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/