mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-23 16:10:52 +00:00
added extra #ifdef to XGGState.m around Xft-specific methods so compilation on non-libxft systems is unaffected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21226 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
649d316cff
commit
fa74219476
2 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
2005-03-29 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
2005-05-14 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
|
||||
* Source/xlib/XGGState.m: Added missing #ifdefs to last patch so
|
||||
compilation on non-libxft system is unaffected.
|
||||
|
||||
2005-05-12 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
|
||||
* Headers/xlib/XGGState.h (xft_draw, xft_alpha_draw, xft_color,
|
||||
-xftDrawForDrawable, -xftColor): New ivars and methods for caching
|
||||
|
|
|
@ -363,6 +363,7 @@ static Region emptyRegion;
|
|||
return xgcntxt;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBXFT
|
||||
- (XftColor) xftColor
|
||||
{
|
||||
return xft_color;
|
||||
|
@ -396,6 +397,7 @@ static Region emptyRegion;
|
|||
|
||||
return 0; //PENDING: warn? throw?
|
||||
}
|
||||
#endif
|
||||
|
||||
- (void) copyBits: (XGGState*)source fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
|
|
Loading…
Reference in a new issue