[Gtk-sharp-list] More on signals

Gonzalo Paniagua Javier gonzalo@ximian.com
26 Feb 2003 00:50:53 +0100


--=-c67nXcby+k91aB2u58/D
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Forgot the ChangeLog entry...

--=-c67nXcby+k91aB2u58/D
Content-Disposition: attachment; filename=entry
Content-Type: text/plain; name=entry; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

2003-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* generator/Parser.cs: use XmlDocument.Load (Stream). The one using
	(String) expects an uri.

	* generator/Signal.cs: always remove the delegate from the signal
	callback (prior to this, the last handler was not being removed).
	Dispose the callback (ie, disconnect from the signal) when there are
	no registered delegates to handle it.

	* generator/SignalHandler.cs: added 2 new fields to hold the instance
	and the handler ID. The finalization is now done in Dispose and
	disconnects the signal handler when no delegate will handle the signal.

	* glib/SignalCallback.cs: implemented IDisposable interface.


--=-c67nXcby+k91aB2u58/D--