[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 65fd3ca: Support the "medium" font weight
From: |
Robert Pluim |
Subject: |
Re: master 65fd3ca: Support the "medium" font weight |
Date: |
Thu, 21 Oct 2021 17:16:19 +0200 |
>>>>> On Thu, 21 Oct 2021 15:07:44 +0200, Lars Ingebrigtsen <larsi@gnus.org>
>>>>> said:
Lars> Andreas Schwab <schwab@linux-m68k.org> writes:
>> gtkutil.c: In function ‘xg_weight_to_symbol’:
>> gtkutil.c:2247:13: error: ‘PANGO_WEIGHT_SEMILIGHT’ undeclared (first
>> use in this function)
>> : w <= PANGO_WEIGHT_SEMILIGHT ? Qsemi_light /* 350 */
Lars> Right, it's pretty new:
Lars> * @PANGO_WEIGHT_SEMILIGHT: the semilight weight (= 350; Since:
1.36.7)
Lars> I've now smacked an #ifdef around that line, which should fix the
issue.
Itʼs an enum, not a #define. Looks like you need something like
#if PANGO_VERSION_CHECK(1, 36, 7)
Robert
--