xnest: Delete unused nClipRects GC-private field.
This field was never read at any time in the git history. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
53a4744b69
commit
df4eeb1256
|
@ -81,7 +81,6 @@ xnestCreateGC(GCPtr pGC)
|
|||
xnestGCPriv(pGC)->gc = XCreateGC(xnestDisplay,
|
||||
xnestDefaultDrawables[pGC->depth],
|
||||
0L, NULL);
|
||||
xnestGCPriv(pGC)->nClipRects = 0;
|
||||
|
||||
return True;
|
||||
}
|
||||
|
@ -282,7 +281,6 @@ xnestChangeClip(GCPtr pGC, int type, pointer pValue, int nRects)
|
|||
|
||||
pGC->clientClipType = type;
|
||||
pGC->clientClip = pValue;
|
||||
xnestGCPriv(pGC)->nClipRects = nRects;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -294,7 +292,6 @@ xnestDestroyClip(GCPtr pGC)
|
|||
|
||||
pGC->clientClipType = CT_NONE;
|
||||
pGC->clientClip = NULL;
|
||||
xnestGCPriv(pGC)->nClipRects = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -19,7 +19,6 @@ is" without express or implied warranty.
|
|||
|
||||
typedef struct {
|
||||
XlibGC gc;
|
||||
int nClipRects;
|
||||
} xnestPrivGC;
|
||||
|
||||
extern DevPrivateKeyRec xnestGCPrivateKeyRec;
|
||||
|
|
Loading…
Reference in New Issue