gtk-rs / gir

Tool to generate rust bindings and user API for glib-based libraries
https://gtk-rs.org/gir/book/
MIT License
230 stars 102 forks source link

parser: ignore `boxed` elements #1460

Closed jf2048 closed 1 year ago

jf2048 commented 1 year ago

This tag is somewhat obscure and only occurs when there is a boxed GType without a public struct definition. In gtk4-rs this is only used once with GtkTreeRowData:

[WARN  libgir::parser] <boxed name=Some("TreeRowData")>

Which is buggy and deprecated and there was never a binding for it anyway, so let's just silence these warnings. Fixes #1456