Generator problems in GtkWidgetClass

This commit is contained in:
Mikkel Kruse Johnsen 2014-11-03 15:50:20 +01:00
parent 61c921e5b2
commit 5fc657a39c

View file

@ -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
* <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");
}
}