mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
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:
parent
adda8bdcf5
commit
445ea379bc
@ -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>
|
2008-01-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/ManagedCallString (Setup): use error param name instead
|
* generator/ManagedCallString (Setup): use error param name instead
|
||||||
|
@ -355,6 +355,8 @@ namespace GtkSharp.Generation {
|
|||||||
if (check_self && p == null) {
|
if (check_self && p == null) {
|
||||||
foreach (string iface in interfaces) {
|
foreach (string iface in interfaces) {
|
||||||
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
|
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
|
||||||
|
if (igen == null)
|
||||||
|
continue;
|
||||||
p = igen.GetMethodRecursively (name, true);
|
p = igen.GetMethodRecursively (name, true);
|
||||||
if (p != null)
|
if (p != null)
|
||||||
break;
|
break;
|
||||||
@ -392,6 +394,8 @@ namespace GtkSharp.Generation {
|
|||||||
if (check_self && p == null) {
|
if (check_self && p == null) {
|
||||||
foreach (string iface in interfaces) {
|
foreach (string iface in interfaces) {
|
||||||
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
|
ClassBase igen = SymbolTable.Table.GetClassGen (iface);
|
||||||
|
if (igen == null)
|
||||||
|
continue;
|
||||||
p = igen.GetSignalRecursively (name, true);
|
p = igen.GetSignalRecursively (name, true);
|
||||||
if (p != null)
|
if (p != null)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user