Actually fix the Pango build problem
* src/gtkutil.c (xg_weight_to_symbol): Don't break the build on older systems.
This commit is contained in:
parent
bd7b5f72a9
commit
2260d01f4d
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue