2002-07-20 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : pring unexpected key in exception. svn path=/trunk/gtk-sharp/; revision=5967
This commit is contained in:
parent
d837953e6c
commit
738aef2a29
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-07-20 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/SignalHandler.cs : pring unexpected key in exception.
|
||||
|
||||
2002-07-20 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/Method.cs : beef up !Validate warnings
|
||||
|
|
|
@ -132,7 +132,7 @@ namespace GtkSharp.Generation {
|
|||
sw.WriteLine(cbname + "(" + pinv + ", int key)");
|
||||
sw.WriteLine("\t\t{");
|
||||
sw.WriteLine("\t\t\tif (!_Instances.Contains(key))");
|
||||
sw.WriteLine("\t\t\t\tthrow new Exception(\"Unexpected signal key\");");
|
||||
sw.WriteLine("\t\t\t\tthrow new Exception(\"Unexpected signal key \" + key);");
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("\t\t\t" + sname + " inst = (" + sname + ") _Instances[key];");
|
||||
if ((s_ret == "void") && (parms.Count == 1)) {
|
||||
|
|
Loading…
Reference in a new issue