From e9a68b1de5a4526427a5abf43f31ec8fe4e64956 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 12 Nov 2021 14:29:40 +0800 Subject: [PATCH] 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. --- src/xwidget.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.2