]> 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:10:20 +0000 (12:10 -0600)
commit0e9824f0df9a77badccd82b06aa86d25c1c5025e
treeac2559d904030a87fa9557e39518575853d704a5
parent0495c682bc5d234a1dd1f271808f8be5d9d9b010
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 6c7da5a5e3ec205e3dcebca80b5f1ae9c18622b3)
menuselect/menuselect_gtk.c