summaryrefslogtreecommitdiff
path: root/mi/migc.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-03 17:16:28 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-03 17:51:20 -0400
commit48b47928133bc462947104bd0f4204f00b993862 (patch)
tree105cf2530808d387e857aa28e78c24823ffb037a /mi/migc.c
parentbd0e87c74789bd5447ec731aa2d2d6e05dd54abc (diff)
mi{Create,Destroy}GCOps are unused, nuke 'em.
Diffstat (limited to 'mi/migc.c')
-rw-r--r--mi/migc.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/mi/migc.c b/mi/migc.c
index c84665993..17931be04 100644
--- a/mi/migc.c
+++ b/mi/migc.c
@@ -54,31 +54,6 @@ miDestroyGC(GCPtr pGC)
miDestroyGCOps(pGC->ops);
}
-/*
- * create a private op array for a gc
- */
-
-GCOpsPtr
-miCreateGCOps(GCOpsPtr prototype)
-{
- GCOpsPtr ret;
-
- ret = xalloc(sizeof(GCOps));
- if (!ret)
- return NULL;
- *ret = *prototype;
- ret->devPrivate.val = 1;
- return ret;
-}
-
-void
-miDestroyGCOps(GCOpsPtr ops)
-{
- if (ops->devPrivate.val)
- xfree(ops);
-}
-
-
_X_EXPORT void
miDestroyClip(GCPtr pGC)
{