]> 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>
Thu, 26 Jun 2025 18:25:13 +0000 (12:25 -0600)
commitb0c5ddb8b55c4f522ece8eecc047a23edcea08f1
tree6bf66f0c75fadba96bdbd71ed21afb22ce68fbd9
parent3d3dc7401793d610c1e4fdc286b14dcb875ad6f3
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
(cherry picked from commit 41d54dfaa2f0ac492dccf410ec34ad168e3a5f81)
menuselect/menuselect_gtk.c