summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-08 13:58:04 -0700
committerJamey Sharp <jamey@minilop.net>2011-09-18 20:11:43 -0500
commitdf4eeb1256c7c5e7a3f88f10da2915c7a07a8db8 (patch)
tree997da75d8bc1786046d257138fe3eca91e95d89f
parent53a4744b69ab76ecabdde5dabfb56830570c0f4e (diff)
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>
-rw-r--r--hw/xnest/GC.c3
-rw-r--r--hw/xnest/XNGC.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c
index 7968b4f6f..48fe4dcbc 100644
--- a/hw/xnest/GC.c
+++ b/hw/xnest/GC.c
@@ -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
diff --git a/hw/xnest/XNGC.h b/hw/xnest/XNGC.h
index 9f1045611..c4a6cef77 100644
--- a/hw/xnest/XNGC.h
+++ b/hw/xnest/XNGC.h
@@ -19,7 +19,6 @@ is" without express or implied warranty.
typedef struct {
XlibGC gc;
- int nClipRects;
} xnestPrivGC;
extern DevPrivateKeyRec xnestGCPrivateKeyRec;