Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser: ignore boxed elements #1460

Merged
merged 1 commit into from
Apr 24, 2023
Merged

parser: ignore boxed elements #1460

merged 1 commit into from
Apr 24, 2023

Conversation

jf2048
Copy link
Member

@jf2048 jf2048 commented Apr 24, 2023

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

These are mostly an obsolete synonym for opaque `record` types that are
barely used. Just silence the warning when encountering one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to fix libgir::parser warning with GTK4?
2 participants