]> git.ipfire.org Git - thirdparty/asterisk.git/commit
menuselect: Fix GTK menu callbacks for Fedora 42 compatibility
authorThomas B. Clark <git@ferree-clark.org>
Mon, 12 May 2025 21:46:00 +0000 (17:46 -0400)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 19 May 2025 13:17:27 +0000 (13:17 +0000)
commit65db98af89708e517cc29273c87828c469266934
treeb5ce229c8dec184925c44376a02c797996bb0cde
parent8d7c91bc4c857ea55f4744061e6b592b78707f58
menuselect: Fix GTK menu callbacks for Fedora 42 compatibility

This patch resolves a build failure in `menuselect_gtk.c` when running
`make menuconfig` on Fedora 42. The new version of GTK introduced stricter
type checking for callback signatures.

Changes include:
- Add wrapper functions to match the expected `void (*)(void)` signature.
- Update `menu_items` array to use these wrappers.

Fixes: #1243
menuselect/menuselect_gtk.c