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:
Mike Kestner 2008-08-27 17:18:41 +00:00
parent 2d0fc94e2f
commit eaa13bdd98
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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) {