2009-01-04 Mike Kestner <mkestner@novell.com>

* glib/GType.cs: fix incorrect null check noticed by Christian Hoff.
	[Fixes #463445]

svn path=/trunk/gtk-sharp/; revision=122390
This commit is contained in:
Mike Kestner 2009-01-04 16:52:22 +00:00
parent 6e4604699e
commit 65f96d21dc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-04 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: fix incorrect null check noticed by Christian Hoff.
[Fixes #463445]
2009-01-02 Mike Kestner <mkestner@novell.com>
* configure.in.in: clarify the Mono.Cairo summary comment.

View File

@ -258,7 +258,7 @@ namespace GLib {
internal IntPtr ClassPtr {
get {
IntPtr klass = g_type_class_peek (val);
if (val == IntPtr.Zero)
if (klass == IntPtr.Zero)
klass = g_type_class_ref (val);
return klass;
}