mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 06:35:32 +00:00
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
* generator/Property.cs : getter usage fix svn path=/trunk/gtk-sharp/; revision=6557
This commit is contained in:
parent
903349cd37
commit
36b2fee78d
|
@ -1,3 +1,7 @@
|
|||
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/Property.cs : getter usage fix
|
||||
|
||||
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/Method.cs : s/GetType/GetGType. Don't generated static
|
||||
|
|
|
@ -90,7 +90,7 @@ namespace GtkSharp.Generation {
|
|||
Method getter = container_type.GetMethod("Get" + Name);
|
||||
Method setter = container_type.GetMethod("Set" + Name);
|
||||
|
||||
if (getter != null && getter.Validate() && getter.IsGetter) {
|
||||
if (getter != null && getter.Validate() && getter.IsGetter && getter.ReturnType == cs_type) {
|
||||
has_getter = true;
|
||||
getter.GenerateImport(sw);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue