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:
parent
b92889aad5
commit
78d0ebd07b
2 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue