From: Dana Jansens Date: Thu, 10 May 2007 14:31:44 +0000 (+0000) Subject: PANGO_VERSION_CHECK is new X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5667acacbcba35a8355b4eb0f5b58cab015676c6;p=chaz%2Fopenbox PANGO_VERSION_CHECK is new --- diff --git a/render/font.c b/render/font.c index 166b9abb..3755c1ff 100644 --- a/render/font.c +++ b/render/font.c @@ -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;