]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove obsolete comment
authorPo Lu <luangruo@yahoo.com>
Fri, 12 Nov 2021 06:29:40 +0000 (14:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 12 Nov 2021 06:31:36 +0000 (14:31 +0800)
The comment probably dated back to when xwidgets supported
many other GTK+ widgets with other data.  In the current
implementation of xwidgets, everything that should be freed
is already freed in `kill_buffer_xwidgets'.

* src/xwidget.c (kill_buffer_xwidgets): Remove outdated TODO.

src/xwidget.c

index 02589ae1927ffc0968a8a8f5495b7900de725842..c1fbfedc7030514dab31bd7d22f5bf2a84369c71 100644 (file)
@@ -2654,7 +2654,6 @@ kill_buffer_xwidgets (Lisp_Object buffer)
       xwidget = XCAR (tail);
       internal_xwidget_list = Fdelq (xwidget, internal_xwidget_list);
       Vxwidget_list = Fcopy_sequence (internal_xwidget_list);
-      /* TODO free the GTK things in xw.  */
       {
         CHECK_LIVE_XWIDGET (xwidget);
         struct xwidget *xw = XXWIDGET (xwidget);