From: Po Lu Date: Fri, 12 Nov 2021 06:29:40 +0000 (+0800) Subject: Remove obsolete comment X-Git-Tag: emacs-29.0.90~3668^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9a68b1de5a4526427a5abf43f31ec8fe4e64956;p=emacs.git Remove obsolete comment 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. --- diff --git a/src/xwidget.c b/src/xwidget.c index 02589ae1927..c1fbfedc703 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -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);