]> 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)
committerThomas B. Clark <git@ferree-clark.org>
Mon, 19 May 2025 13:17:22 +0000 (13:17 +0000)
commit28f5d4a2ecc1c98239367cd43f5b022bef403b58
tree94f7916b40f666cd1fef0c4f9e00c49250463e36
parent296cf69925697e7bb6ff3657af46e8b90f6d4289
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