2008-08-27 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs: use existing Parameters.IsHidden method to check for hidden user data. svn path=/trunk/gtk-sharp/; revision=111721
This commit is contained in:
parent
2d0fc94e2f
commit
eaa13bdd98
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-08-27 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ManagedCallString.cs: use existing Parameters.IsHidden
|
||||
method to check for hidden user data.
|
||||
|
||||
2008-08-27 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ManagedCallString.cs: revert last change. There are a
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace GtkSharp.Generation {
|
|||
user_data_param = parms[i+1].Name;
|
||||
destroy_param = parms[i+2].Name;
|
||||
i += 2;
|
||||
} else if (p.IsUserData && ((i == parms.Count - 1) || i == parms.Count - 2 && parms[parms.Count - 1] is ErrorParameter) && (parms.HideData || parms [i-1].Generatable is CallbackGen)) {
|
||||
} else if (p.IsUserData && parms.IsHidden (p)) {
|
||||
user_data_param = p.Name;
|
||||
continue;
|
||||
} else if (p is ErrorParameter) {
|
||||
|
|
Loading…
Reference in a new issue