]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 17:40:15 +0000 (11:40 -0600)
commit31be3d99a919fdf985c7a4904a1c32f8a8efd15f
treede7133b7d1418249ff046897a9ed3a66085ca97c
parent5a0728f161d9c75a8241cdd14d08e3544ea2386e
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