]> 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 20:02:59 +0000 (14:02 -0600)
commitc4aad078fb5c19cc628031658386165a788b69ae
tree5924d86013f2eb9e336ba8710e60974a44f4ddf3
parentac1fd7ffc19560e5d6b9306c1aa75791067043ae
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