summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-11-25 20:21:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-11-25 20:21:13 (GMT)
commit94759f627f8a7a462a2e4ea813dcf5b642191d58 (patch)
tree630f97e9d446025ef95b5a08690680d0c96fd384 /generic/tkMenu.c
parent48ab1488e7104ed9f9b90435951cf56e4ad3d2ed (diff)
downloadtk-94759f627f8a7a462a2e4ea813dcf5b642191d58.zip
tk-94759f627f8a7a462a2e4ea813dcf5b642191d58.tar.gz
tk-94759f627f8a7a462a2e4ea813dcf5b642191d58.tar.bz2
Fix [52d83f67eb]: TkDestroyMenu(): outdated comment
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r--generic/tkMenu.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index 8a7e892..af56b4e 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -1200,11 +1200,10 @@ DestroyMenuInstance(
*
* TkDestroyMenu --
*
- * This function is invoked by Tcl_EventuallyFree or Tcl_Release to clean
- * up the internal structure of a menu at a safe time (when no-one is
- * using it anymore). If called on a main instance, destroys all of the
- * instances. If called on a non-main instance, just destroys
- * that instance.
+ * This function is invoked to clean up the internal structure of a menu
+ * at a safe time (when no-one is using it anymore). If called on a main
+ * instance, destroys all of the instances. If called on a non-main
+ * instance, just destroys that instance.
*
* Results:
* None.