Skip to content

Add enums required for GObject >=3.51.0 #105

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FakeMichau
Copy link

Not sure if that's the best approach or if it maybe should be implemented somewhere else.
Took the enums from gtk-layer-shell.
It works and in the worst case I hope this saves the maintainers some time diagnosing the cause

ref: https://gitlab.gnome.org/GNOME/pygobject/-/blob/main/docs/guide/api/flags_enums.rst

@its-darsh
Copy link
Contributor

Indeed that's the right way of fixing this issue, however, this is more of a PyGObject issue with the binding, PyGObject should automatically detect what is an enum and what's not...

I had multiple plans of fixing this issue however I took the easiest route and that is waiting till upstream is fixed. I also thought about editing the implementation of Property.

@FakeMichau
Copy link
Author

Are they aware of the issue? I looked at issues on gnome's gitlab for gobject-introspection but can't tell if any of them relate to this.

@its-darsh its-darsh added bug Something isn't working good first issue Good for newcomers labels May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants