Fix build on systems with older Pango versions
* src/gtkutil.c (xg_weight_to_symbol): Don't break the build on older systems.
This commit is contained in:
parent
aa9bbf5446
commit
a4c232effc
1 changed files with 2 additions and 0 deletions
|
@ -2244,7 +2244,9 @@ 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 */
|
||||
: w <= PANGO_WEIGHT_SEMILIGHT ? Qsemi_light /* 350 */
|
||||
#endif
|
||||
: w <= PANGO_WEIGHT_BOOK ? Qbook /* 380 */
|
||||
: w <= PANGO_WEIGHT_NORMAL ? Qnormal /* 400 */
|
||||
: w <= PANGO_WEIGHT_MEDIUM ? Qmedium /* 500 */
|
||||
|
|
Loading…
Add table
Reference in a new issue