XtReleaseGC() XtReleaseGC()
Name
XtReleaseGC - deallocate a shared GC when it is no longer needed.
Synopsis
void XtReleaseGC(object, gc)
Widget object;
GC gc;
Inputs
object Specifies any object on the display for which the GC was created; may be of class Object or any subclass thereof.
gc Specifies 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
XtAllocateGC(1), XtGetGC(1).
Xt - Memory Allocation XtReleaseGC()