2008-02-29 Mike Kestner <mkestner@novell.com>

* gdk/Event.cs: add New method for consistency with generated
	boxed types.  Will be used by GLib.Value in the future.

svn path=/trunk/gtk-sharp/; revision=97052
This commit is contained in:
Mike Kestner 2008-03-01 02:50:08 +00:00
parent b92889aad5
commit 78d0ebd07b
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-02-29 Mike Kestner <mkestner@novell.com>
* gdk/Event.cs: add New method for consistency with generated
boxed types. Will be used by GLib.Value in the future.
2008-02-29 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: null-term array handling.

View file

@ -77,6 +77,11 @@ namespace Gdk {
}
}
public static Event New (IntPtr raw)
{
return GetEvent (raw);
}
public static Event GetEvent (IntPtr raw)
{
if (raw == IntPtr.Zero)