mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 07:23:18 +02:00
Generator problems in GtkWidgetClass
This commit is contained in:
parent
61c921e5b2
commit
5fc657a39c
@ -183,7 +183,7 @@ namespace GtkSharp.Generation {
|
|||||||
* as they may contain class fields which don't appear in the old (version 1) API files. There are also cases in which the order of the
|
* as they may contain class fields which don't appear in the old (version 1) API files. There are also cases in which the order of the
|
||||||
* <signal> and <virtual_method> elements do not match the struct layout.
|
* <signal> and <virtual_method> elements do not match the struct layout.
|
||||||
*/
|
*/
|
||||||
return (is_interface || this.ParserVersion >= 2) && class_fields_valid;
|
return (is_interface || this.ParserVersion >= 2) && (class_fields_valid || class_struct_name == "GtkWidgetClass");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user