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 <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Foxe Chen
2026-06-01 19:46:46 +00:00
committed by Christian Brabandt
parent 7895c9e6b8
commit e2d1c334ee
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -444,6 +444,10 @@
# else
// # define FEAT_XFONTSET
# endif
#else
# if defined(USE_GTK4)
# undef FEAT_XFONTSET
# endif
#endif
/*
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
582,
/**/
581,
/**/