From f6e966338eadedb167338c71185f53a4b9830331 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 24 Apr 2010 11:18:30 -0700 Subject: [PATCH] cairo-chart: Fix Pango version check. There is no Pango version 2.22, but there is a 1.22. Reported by Michel Boaventura . --- src/output/cairo-chart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2