]> Dogcows Code - chaz/openbox/commitdiff
PANGO_VERSION_CHECK is new
authorDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 14:31:44 +0000 (14:31 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 14:31:44 +0000 (14:31 +0000)
render/font.c

index 166b9abb8182bafc8c782ca2f8a71931bdcff59e..3755c1ff7652c8d0aa013b0c96b41115bdcc4b66 100644 (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;
This page took 0.022233 seconds and 4 git commands to generate.