diff options
author | kaleb <empty> | 1993-09-09 14:03:33 +0000 |
---|---|---|
committer | kaleb <empty> | 1993-09-09 14:03:33 +0000 |
commit | 8f2c77d4da3701a5304e9e4858f543c76317dcdf (patch) | |
tree | c94ef2a87433e68f197b046b92f87e0b4dee5e84 /xc/lib/Xt/Intrinsic.c | |
parent | aed767055a5a0f42a9f18970cf4fcc04629a8793 (diff) |
Added XtIsBeingDestroyed
Diffstat (limited to 'xc/lib/Xt/Intrinsic.c')
-rw-r--r-- | xc/lib/Xt/Intrinsic.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xc/lib/Xt/Intrinsic.c b/xc/lib/Xt/Intrinsic.c index 61495d457..debb95163 100644 --- a/xc/lib/Xt/Intrinsic.c +++ b/xc/lib/Xt/Intrinsic.c @@ -1,4 +1,4 @@ -/* $XConsortium: Intrinsic.c,v 1.175 93/08/11 14:06:42 kaleb Exp $ */ +/* $XConsortium: Intrinsic.c,v 1.176 93/08/27 16:27:37 kaleb Exp $ */ /*********************************************************** Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts, @@ -695,6 +695,20 @@ Boolean XtIsSensitive(object) return retval; } +Boolean XtIsBeingDestroyed(object) + Widget object; +{ + Boolean retval; + WIDGET_TO_APPCON(object); + + LOCK_APP(app); + retval = object->core.being_destroyed; + UNLOCK_APP(app); + return retval; +} + +/* + /* * Internal routine; must be called only after XtIsWidget returns false */ |