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
Copyright O’Reilly & Assoc. — X Toolkit Intrinsics Reference Manual © O’Reilly & Associates