Re: [PATCH 21/66] kconfig: gconf: remove unneeded variables in on_treeview*_button_press_event()

From: Randy Dunlap
Date: Sun Jun 29 2025 - 22:40:44 EST




On 6/24/25 8:05 AM, Masahiro Yamada wrote:
> No all position parameters are used here. Passing NULL to

Not all

> gtk_tree_view_get_cursor() or gtk_tree_view_get_path_at_pos() is
> allowed. [1] [2]
>
> [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gtk/gtktreeview.c#L12638
> [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gtk/gtktreeview.c#L12795
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> scripts/kconfig/gconf.c | 14 +++-----------
> 1 file changed, 3 insertions(+), 11 deletions(-)

--
~Randy