summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-13 18:57:08 -0700
committerJamey Sharp <jamey@minilop.net>2010-09-13 15:55:16 -0700
commit139aa6e74227f0fe52cd8dccf1d563664103aaba (patch)
treeac5b2c86a41b11a4760a6e94f70726473212c0a3
parent5ff9e58bef668c1279c5e253795711a1e118aaa1 (diff)
damage: Delete NOTUSED block--it was never not NOTUSED.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--miext/damage/damage.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index e0e96f276..b809cca55 100644
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -458,28 +458,6 @@ damageCreateGC(GCPtr pGC)
return ret;
}
-#ifdef NOTUSED
-static void
-damageWrapGC (GCPtr pGC)
-{
- damageGCPriv(pGC);
-
- pGCPriv->ops = NULL;
- pGCPriv->funcs = pGC->funcs;
- pGC->funcs = &damageGCFuncs;
-}
-
-static void
-damageUnwrapGC (GCPtr pGC)
-{
- damageGCPriv(pGC);
-
- pGC->funcs = pGCPriv->funcs;
- if (pGCPriv->ops)
- pGC->ops = pGCPriv->ops;
-}
-#endif
-
#define DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable) \
damageGCPriv(pGC); \
GCFuncs *oldFuncs = pGC->funcs; \