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
2 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* parser/gapi2xml.pl : look for ");" at the end of property
|
||||
|
|
|
@ -112,11 +112,11 @@ namespace GtkSharp.Generation {
|
|||
GenCtors (gen_info);
|
||||
GenProperties (gen_info);
|
||||
|
||||
bool has_sigs = (sigs != null);
|
||||
if (!has_sigs) {
|
||||
bool has_sigs = (sigs != null && sigs.Count > 0);
|
||||
if (!has_sigs && interfaces != null) {
|
||||
foreach (string iface in interfaces) {
|
||||
ClassBase igen = table.GetClassGen (iface);
|
||||
if (igen.Signals != null) {
|
||||
if (igen != null && igen.Signals != null) {
|
||||
has_sigs = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue