mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
2003-10-07 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs (Generate): check sigs.Count in addition to the null check to determine if the signals hash should be generated. svn path=/trunk/gtk-sharp/; revision=18718
This commit is contained in:
parent
ec59bb6398
commit
c9580f2355
@ -1,3 +1,9 @@
|
|||||||
|
2003-10-07 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
|
* generator/ObjectGen.cs (Generate): check sigs.Count in addition
|
||||||
|
to the null check to determine if the signals hash should be
|
||||||
|
generated.
|
||||||
|
|
||||||
2003-10-07 Mike Kestner <mkestner@ximian.com>
|
2003-10-07 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* parser/gapi2xml.pl : look for ");" at the end of property
|
* parser/gapi2xml.pl : look for ");" at the end of property
|
||||||
|
@ -112,11 +112,11 @@ namespace GtkSharp.Generation {
|
|||||||
GenCtors (gen_info);
|
GenCtors (gen_info);
|
||||||
GenProperties (gen_info);
|
GenProperties (gen_info);
|
||||||
|
|
||||||
bool has_sigs = (sigs != null);
|
bool has_sigs = (sigs != null && sigs.Count > 0);
|
||||||
if (!has_sigs) {
|
if (!has_sigs && interfaces != null) {
|
||||||
foreach (string iface in interfaces) {
|
foreach (string iface in interfaces) {
|
||||||
ClassBase igen = table.GetClassGen (iface);
|
ClassBase igen = table.GetClassGen (iface);
|
||||||
if (igen.Signals != null) {
|
if (igen != null && igen.Signals != null) {
|
||||||
has_sigs = true;
|
has_sigs = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user