Skip to content

Conversation

@lenemter
Copy link
Member

From vala-lint:
148 warnings in main -> 135 warnings

@lenemter lenemter requested a review from a team March 13, 2025 13:31
@leolost2605
Copy link
Member

I think the vapi is actually outdated here. It seems like since https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4080 it should be more like

public delegate void KeyHandlerFunc (Meta.Display display, Meta.Window? window, Clutter.Event event, Meta.KeyBinding binding);

and then we can also drop the additional metadata for the event type I think?
ping @tintou since he's done most of the vapi stuff :)

@lenemter
Copy link
Member Author

@leolost2605 Won't this KeyHandlerFunc signature only be available in mutter 48?

Copy link
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

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

Assuming the VAPI isn't out of date this seems good

@leonardo-lemos
Copy link
Collaborator

@lenemter Can we merge this?

@lenemter lenemter merged commit 441c1a6 into main Jun 9, 2025
4 of 5 checks passed
@lenemter lenemter deleted the lenemter/shorten-keybinding-lines branch June 9, 2025 15:37
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.

5 participants