From: Foxe Chen Date: Mon, 1 Jun 2026 19:46:46 +0000 (+0000) Subject: patch 9.2.0582: GTK4: compile error when XFONTSET is defined X-Git-Tag: v9.2.0582^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2d1c334ee88067e16351e091ece95f6c6f24af5;p=thirdparty%2Fvim.git patch 9.2.0582: GTK4: compile error when XFONTSET is defined Problem: GTK4: compile error when XFONTSET is defined (simozz) Solution: Undefine FEAT_XFONTSET when GTK4 UI is defined (Foxe Chen) fixes: #20404 closes: #20406 Signed-off-by: Foxe Chen Signed-off-by: Christian Brabandt --- diff --git a/src/feature.h b/src/feature.h index 46508f74bb..92c4b1374b 100644 --- a/src/feature.h +++ b/src/feature.h @@ -444,6 +444,10 @@ # else // # define FEAT_XFONTSET # endif +#else +# if defined(USE_GTK4) +# undef FEAT_XFONTSET +# endif #endif /* diff --git a/src/version.c b/src/version.c index 44bc20abdc..02fc6a82f6 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 582, /**/ 581, /**/