Correct the cairo version #ifdef.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2008-03-06 08:35:20 +00:00
parent 78ee5962c6
commit ca93f5c895
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoGState.m (-copyWithZone:): Correct the cairo
version #ifdef.
2008-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source\win32\WIN32Server.m: Improve window level code ... when moving

View file

@ -141,8 +141,10 @@ static float floatToUserSpace(NSAffineTransform *ctm, float f)
{
cairo_path_t *cpath;
cairo_matrix_t local_matrix;
#if CAIRO_VERSION > CAIRO_VERSION_ENCODE(1, 4, 0)
cairo_rectangle_list_t *clip_rects;
int num_dashes;
#endif
cairo_get_matrix(_ct, &local_matrix);
cairo_set_matrix(copy->_ct, &local_matrix);
@ -217,8 +219,8 @@ static float floatToUserSpace(NSAffineTransform *ctm, float f)
}
}
cairo_rectangle_list_destroy(clip_rects);
}
#endif
}
}
return copy;