XtReleaseGC()XtReleaseGC()NameXtReleaseGC - 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 cre‐
ated; may be of class Object or any subclass thereof.
gc Specifies the GC to be deallocated.
DescriptionXtReleaseGC() deallocates a shared GC allocated with XtGetGC() or XtAl‐
locateGC(). The Intrinsics maintain a reference count on all shared
GCs and call XFreeGC() when the last user of a GC releases it.
See AlsoXtAllocateGC(1), XtGetGC(1).
Xt - Memory Allocation XtReleaseGC()