[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2260d01: Actually fix the Pango build problem
From: |
Lars Ingebrigtsen |
Subject: |
master 2260d01: Actually fix the Pango build problem |
Date: |
Thu, 21 Oct 2021 11:24:08 -0400 (EDT) |
branch: master
commit 2260d01f4d214783e61dbf4d4cf22396576a346a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Actually fix the Pango build problem
* src/gtkutil.c (xg_weight_to_symbol): Don't break the build on
older systems.
---
src/gtkutil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 873f7f2..a9eabf4 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -2244,7 +2244,7 @@ Lisp_Object xg_weight_to_symbol (PangoWeight w)
(w <= PANGO_WEIGHT_THIN ? Qthin /* 100 */
: w <= PANGO_WEIGHT_ULTRALIGHT ? Qultra_light /* 200 */
: w <= PANGO_WEIGHT_LIGHT ? Qlight /* 300 */
-#ifdef PANGO_WEIGHT_SEMILIGHT /* New in 1.36.7 */
+#if PANGO_VERSION_CHECK(1, 36, 7)
: w <= PANGO_WEIGHT_SEMILIGHT ? Qsemi_light /* 350 */
#endif
: w <= PANGO_WEIGHT_BOOK ? Qbook /* 380 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 2260d01: Actually fix the Pango build problem,
Lars Ingebrigtsen <=