emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] comment unused args in resize_cb() in src/widget.c


From: Eli Zaretskii
Subject: Re: [PATCH] comment unused args in resize_cb() in src/widget.c
Date: Tue, 07 Sep 2021 20:40:56 +0300

> Date: Tue, 7 Sep 2021 19:26:50 +0200 (CEST)
> From:  Adam Kandur via "Emacs development discussions." <emacs-devel@gnu.org>
> 
> I've been playing with emacs sources and noticed resize_cb () in src/widget.c 
> accept 4 arguments but use only one inside. I'm new in programming (and C), 
> but i decided to comment other args and build it.

It's used as a callback, so it has to have the signature expected by
XtAddRawEventHandler.  Even if it doesn't use some of the arguments.

Thanks.



reply via email to

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