X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=render%2Ffont.c;h=3755c1ff7652c8d0aa013b0c96b41115bdcc4b66;hb=48c3bc7cf8baa5df18d7f3ac6dddc50eaa27ee92;hp=166b9abb8182bafc8c782ca2f8a71931bdcff59e;hpb=c4385c098fb5547dd80b06636c946676f274d396;p=chaz%2Fopenbox 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;