emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e9a68b1: Remove obsolete comment


From: Po Lu
Subject: master e9a68b1: Remove obsolete comment
Date: Fri, 12 Nov 2021 01:31:48 -0500 (EST)

branch: master
commit e9a68b1de5a4526427a5abf43f31ec8fe4e64956
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 02589ae..c1fbfed 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]