mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
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:
parent
2ed723345f
commit
33772f0a34
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue