mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 12:36:22 +00:00
2005-11-19 Mike Kestner <mkestner@novell.com>
* generator/ManualGen.cs (CallByName): add null handling. [Fixes #76540] svn path=/trunk/gtk-sharp/; revision=53280
This commit is contained in:
parent
75af9256fb
commit
626b964336
|
@ -1,3 +1,8 @@
|
|||
2005-11-19 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ManualGen.cs (CallByName): add null handling.
|
||||
[Fixes #76540]
|
||||
|
||||
2005-11-15 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* gdk/Rectangle.custom: Fix up Intersect using p/invoke, per
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace GtkSharp.Generation {
|
|||
|
||||
public override string CallByName (string var_name)
|
||||
{
|
||||
return var_name + ".Handle";
|
||||
return var_name + " == null ? IntPtr.Zero : " + var_name + ".Handle";
|
||||
}
|
||||
|
||||
public override string FromNative(string var)
|
||||
|
|
Loading…
Reference in a new issue