Closed gkoz closed 8 years ago
Its really normal.
GFile
belong to Gio
and so don't checked for ignored as we though that all other classes in MAIN_NAMESPACE will be manual. https://github.com/gtk-rs/gir/blob/master/src/analysis/rust_type.rs#L92-L101.
We can add checks in MAIN_NAMESPACE also, but then we need add many manual
s to .gir
.
I haven't ever noticed a manual default for classes and the relevant piece seems https://github.com/gtk-rs/gir/blob/7446646734536d4c072d750219e1c04f7d3013be/src/analysis/rust_type.rs#L177-L198 wherein ignored classes in parameters return error but not inside a container. Perhaps the check on line 180 should be moved to the rust_type_full
function.
Manual not defaults for object in main namespace, it just not checked for ignored in rust_type_full
.
Argee that adding `/Ignored/ better placed there.