PANGO_VERSION_CHECK is new
This commit is contained in:
parent
176e6cea6e
commit
5667acacbc
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ static void measure_font(const RrInstance *inst, RrFont *f)
|
|||
static PangoLanguage *lang = NULL;
|
||||
|
||||
if (lang == NULL) {
|
||||
#if PANGO_VERSION_CHECK(1,16,0)
|
||||
#if PANGO_VERSION_MAJOR > 1 || \
|
||||
(PANGO_VERSION_MAJOR == 1 && PANGO_VERSION_MINOR >= 16)
|
||||
lang = pango_language_get_default();
|
||||
#else
|
||||
gchar *locale, *p;
|
||||
|
|
Loading…
Reference in a new issue