summaryrefslogtreecommitdiff
path: root/src/Destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Destroy.c')
-rw-r--r--src/Destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Destroy.c b/src/Destroy.c
index 3c6e564..9595bed 100644
--- a/src/Destroy.c
+++ b/src/Destroy.c
@@ -193,7 +193,7 @@ Phase2Destroy(register Widget widget)
} /* Phase2Destroy */
static Boolean
-IsDescendant(Widget widget, Widget root)
+IsDescendant(Widget widget, const Widget root)
{
while ((widget = XtParent(widget)) != root) {
if (widget == NULL)