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:
parent
6e4604699e
commit
65f96d21dc
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue