summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-11-25 20:21:24 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-11-25 20:21:24 (GMT)
commit681acf298643d13eae45ea82cdaa392a42e32304 (patch)
tree30faa2382603ec55e008a7d8dddb4762a82ed1c6 /generic/tkMenu.c
parentebf91215ab901497e0ae10202ae39cb5c0aee597 (diff)
parent94759f627f8a7a462a2e4ea813dcf5b642191d58 (diff)
downloadtk-681acf298643d13eae45ea82cdaa392a42e32304.zip
tk-681acf298643d13eae45ea82cdaa392a42e32304.tar.gz
tk-681acf298643d13eae45ea82cdaa392a42e32304.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 a1df355..34a6d78 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -1242,11 +1242,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.