mi{Create,Destroy}GCOps are unused, nuke 'em.
This commit is contained in:
parent
bd0e87c747
commit
48b4792813
25
mi/migc.c
25
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user