Author: mkestner
Date: 2008-01-30 10:30:27 -0500 (Wed, 30 Jan 2008)
New Revision: 94388

Modified:
   trunk/gtk-sharp/ChangeLog
   trunk/gtk-sharp/generator/ClassBase.cs
Log:

2008-01-30  Mike Kestner  <[EMAIL PROTECTED]>

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


Modified: trunk/gtk-sharp/ChangeLog
===================================================================
--- trunk/gtk-sharp/ChangeLog   2008-01-30 15:18:56 UTC (rev 94387)
+++ trunk/gtk-sharp/ChangeLog   2008-01-30 15:30:27 UTC (rev 94388)
@@ -1,3 +1,8 @@
+2008-01-30  Mike Kestner  <[EMAIL PROTECTED]>
+
+       * generator/ClassBase.cs: null check ifaces in recursive method
+       and signal lookup.
+
 2008-01-29  Mike Kestner  <[EMAIL PROTECTED]>
 
        * generator/ManagedCallString (Setup): use error param name instead

Modified: trunk/gtk-sharp/generator/ClassBase.cs
===================================================================
--- trunk/gtk-sharp/generator/ClassBase.cs      2008-01-30 15:18:56 UTC (rev 
94387)
+++ trunk/gtk-sharp/generator/ClassBase.cs      2008-01-30 15:30:27 UTC (rev 
94388)
@@ -355,6 +355,8 @@
                        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 @@
                        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;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to