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
5 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1900,4 +1900,4 @@ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10);
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
||||
|
|
|
@ -668,4 +668,4 @@ public class CellRendererCompletion : CellRendererText
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
||||
|
|
|
@ -1515,4 +1515,4 @@ class TextViewSample
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
||||
|
|
|
@ -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