PANGO_VERSION_CHECK is new

This commit is contained in:
Dana Jansens 2007-05-10 14:31:44 +00:00
parent 176e6cea6e
commit 5667acacbc

View file

@ -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;