2008-01-30 Mike Kestner <mkestner@novell.com>

* generator/ClassBase.cs: null check ifaces in recursive method
	and signal lookup.

svn path=/trunk/gtk-sharp/; revision=94388
This commit is contained in:
Mike Kestner 2008-01-30 15:30:27 +00:00
parent adda8bdcf5
commit 445ea379bc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-01-30 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs: null check ifaces in recursive method
and signal lookup.
2008-01-29 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString (Setup): use error param name instead

View File

@ -355,6 +355,8 @@ namespace GtkSharp.Generation {
if (check_self && p == null) {
foreach (string iface in interfaces) {
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
if (igen == null)
continue;
p = igen.GetMethodRecursively (name, true);
if (p != null)
break;
@ -392,6 +394,8 @@ namespace GtkSharp.Generation {
if (check_self && p == null) {
foreach (string iface in interfaces) {
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
if (igen == null)
continue;
p = igen.GetSignalRecursively (name, true);
if (p != null)
break;