diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-03 17:16:28 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-03 17:51:20 -0400 |
commit | 48b47928133bc462947104bd0f4204f00b993862 (patch) | |
tree | 105cf2530808d387e857aa28e78c24823ffb037a /mi/migc.c | |
parent | bd0e87c74789bd5447ec731aa2d2d6e05dd54abc (diff) |
mi{Create,Destroy}GCOps are unused, nuke 'em.
Diffstat (limited to 'mi/migc.c')
-rw-r--r-- | mi/migc.c | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -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) { |