Skip to content

typing: GObject: Fix GInterface#262

Merged
lovetox merged 1 commit intopygobject:masterfrom
jamiethecat:fix-interface
Feb 15, 2026
Merged

typing: GObject: Fix GInterface#262
lovetox merged 1 commit intopygobject:masterfrom
jamiethecat:fix-interface

Conversation

@jamiethecat
Copy link
Contributor

n_* parameters are not a thing in PyGObject, only the sequence(s) are passed in.

Fixes #221

@lovetox
Copy link
Collaborator

lovetox commented Feb 15, 2026

Either you need to add a # override comment above these methods, or you try to fix the automatic stub generator.

Otherwise the changes will be gone when we run the stub generator next time

@jamiethecat
Copy link
Contributor Author

GInterface already has # override for the whole class.

@lovetox
Copy link
Collaborator

lovetox commented Feb 15, 2026

You are right, i missed that, then please rebase and everything should be ok

@lovetox lovetox merged commit 55d24a0 into pygobject:master Feb 15, 2026
2 checks passed
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.

Errors on Gtk.Template with mixin

2 participants