]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0582: GTK4: compile error when XFONTSET is defined v9.2.0582
authorFoxe Chen <chen.foxe@gmail.com>
Mon, 1 Jun 2026 19:46:46 +0000 (19:46 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 1 Jun 2026 19:46:46 +0000 (19:46 +0000)
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>
src/feature.h
src/version.c

index 46508f74bbbcf53c9feb04ab21ebe2e1883997ca..92c4b1374be7d94909877571411f1f00b6a792bb 100644 (file)
 # else
 // #  define FEAT_XFONTSET
 # endif
+#else
+# if defined(USE_GTK4)
+#  undef FEAT_XFONTSET
+# endif
 #endif
 
 /*
index 44bc20abdcf81197286815af5923bd2dce5fa1d2..02fc6a82f6bb766f64d6f02c15beca05f055d98e 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    582,
 /**/
     581,
 /**/