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:
Mike Kestner 2005-11-19 18:56:27 +00:00
parent 75af9256fb
commit 626b964336
5 changed files with 9 additions and 4 deletions

View file

@ -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

View file

@ -1900,4 +1900,4 @@ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10);
</Docs>
</Member>
</Members>
</Type>
</Type>

View file

@ -668,4 +668,4 @@ public class CellRendererCompletion : CellRendererText
</Docs>
</Member>
</Members>
</Type>
</Type>

View file

@ -1515,4 +1515,4 @@ class TextViewSample
</Docs>
</Member>
</Members>
</Type>
</Type>

View file

@ -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)