Remove the `Class::gobject_parent` field
hir::Class
has a gobject_parent
field that is superfluous now. It means whether the class that the user defined has no specified superclass, so by default the superclass should be GObject
:
gobject_gen! {
class Foo { // here gobject_parent would be true
}
class Bar: MyParent { // here gobject_parent would be false
}
}
We already resolve the parent class to use in tokens_ParentInstance()
, so we don't need to maintain a separate boolean flag anymore.