]> 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 19:36:24 +0000 (13:36 -0600)
commit2186a96f52255317f7c3e1505527b0842daf16df
tree8c70204477457ac2923f9a07a2fe801145b246bd
parent70ea206bbfdf5e61508ba7b34da47cbbd6adc658
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