2008-06-06 Mike Kestner <mkestner@novell.com>

* atk/Object.custom: use 'as StateSet' instead of cast to avoid
	cast exceptions in the null case. Apparently it's not an exception
	any more, according to folks on #monodev.  I still prefer as for
	GetObject 'casting'.

svn path=/trunk/gtk-sharp/; revision=105176
This commit is contained in:
Mike Kestner 2008-06-06 16:48:59 +00:00
parent 40b8a8c5d9
commit 7d9723862d

View File

@ -1,7 +1,9 @@
2008-06-06 Mike Kestner <mkestner@novell.com>
* atk/Object.custom: use 'as StateSet' instead of cast to avoid
cast exceptions in the null case.
cast exceptions in the null case. Apparently it's not an exception
any more, according to folks on #monodev. I still prefer as for
GetObject 'casting'.
2008-06-06 Andres G. Aragoneses <aaragoneses@novell.com>