mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
Fixes BNC#426876.
* generator/InterfaceGen.cs: throw ArgumentNullException in the Adapter's constructor that receives an implementor. svn path=/trunk/gtk-sharp/; revision=115571
This commit is contained in:
parent
b20d37c79c
commit
d677bb90f0
@ -1,3 +1,9 @@
|
|||||||
|
2008-10-12 Andrés G. Aragoneses <aaragoneses@novell.com>
|
||||||
|
|
||||||
|
Fixes BNC#426876.
|
||||||
|
* generator/InterfaceGen.cs: throw ArgumentNullException in
|
||||||
|
the Adapter's constructor that receives an implementor.
|
||||||
|
|
||||||
2008-10-09 Mike Kestner <mkestner@novell.com>
|
2008-10-09 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* cairo/*.cs: flatten source hierarchy to simplify win32 build.
|
* cairo/*.cs: flatten source hierarchy to simplify win32 build.
|
||||||
|
@ -170,6 +170,8 @@ namespace GtkSharp.Generation {
|
|||||||
sw.WriteLine ();
|
sw.WriteLine ();
|
||||||
sw.WriteLine ("\t\tpublic {0}Adapter ({0}Implementor implementor)", Name);
|
sw.WriteLine ("\t\tpublic {0}Adapter ({0}Implementor implementor)", Name);
|
||||||
sw.WriteLine ("\t\t{");
|
sw.WriteLine ("\t\t{");
|
||||||
|
sw.WriteLine ("\t\t\tif (implementor == null)");
|
||||||
|
sw.WriteLine ("\t\t\t\tthrow new ArgumentNullException (\"implementor\");");
|
||||||
sw.WriteLine ("\t\t\tthis.implementor = implementor;");
|
sw.WriteLine ("\t\t\tthis.implementor = implementor;");
|
||||||
sw.WriteLine ("\t\t}");
|
sw.WriteLine ("\t\t}");
|
||||||
sw.WriteLine ();
|
sw.WriteLine ();
|
||||||
|
Loading…
Reference in New Issue
Block a user