NAME
XtReleaseGC − deallocate a shared GC when it is no longer needed.
SYNOPSIS
void XtReleaseGC(object, gc)
Widget object;
GC gc;
Inputs
objectSpecifies any object on the display for which the GC was created; may be of class Object or any subclass thereof.
gcSpecifies the GC to be deallocated.
DESCRIPTION
XtReleaseGC() deallocates a shared GC allocated with XtGetGC() or XtAllocateGC(). The Intrinsics maintain a reference count on all shared GCs and call XFreeGC() when the last user of a GC releases it.
SEE ALSO
XtAllocateGCUNIX SYSTEM V/68, XtGetGCUNIX SYSTEM V/68.