From: Ben Pfaff Date: Sat, 24 Apr 2010 18:18:30 +0000 (-0700) Subject: cairo-chart: Fix Pango version check. X-Git-Tag: v0.7.5~50 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e966338eadedb167338c71185f53a4b9830331;p=pspp-builds.git cairo-chart: Fix Pango version check. There is no Pango version 2.22, but there is a 1.22. Reported by Michel Boaventura . --- diff --git a/src/output/cairo-chart.c b/src/output/cairo-chart.c index b5e17e0f..a776eab3 100644 --- a/src/output/cairo-chart.c +++ b/src/output/cairo-chart.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004, 2009 Free Software Foundation, Inc. + Copyright (C) 2004, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -83,7 +83,7 @@ xrchart_geometry_free (cairo_t *cr UNUSED, struct xrchart_geometry *geom) free (geom->dataset); } -#if ! PANGO_VERSION_CHECK (2, 22, 0) +#if ! PANGO_VERSION_CHECK (1, 22, 0) int pango_layout_get_baseline (PangoLayout *layout); /* Shamelessly copied from the pango source */