Skip to content

Conversation

@jsparber
Copy link

Some introspectiable liberies don't include glib in the gir file. For example gsettings-dekstop-schemas only exposes a series of enumes but doesn't depend on glib.

CC: @sdroege

Some introspectiable liberies don't include glib in the gir file.
For example `gsettings-dekstop-schemas` only exposes a series of enumes
but doesn't depend on glib.
None
} else {
let ns = if env.namespaces.glib_ns_id == namespaces::MAIN {
let ns = if env.namespaces.glib_ns_id.is_none()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and other code should panic if the GLib namespace is not found. It's using API from it so the namespace must exist in these situations

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.

2 participants