patch 9.2.0582: GTK4: compile error when XFONTSET is defined
Commit:
https://github.com/vim/vim/commit/e2d1c334ee88067e16351e091ece95f6c6f24af5
Author: Foxe Chen <[email protected]>
Date: Mon Jun 1 19:46:46 2026 +0000
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/feature.h b/src/feature.h
index 46508f74b..92c4b1374 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 44bc20abd..02fc6a82f 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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wU8nt-000Y91-SM%40256bit.org.