From nobody Wed Oct 8 22:31:06 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 911472D8DB3; Tue, 24 Jun 2025 15:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750777647; cv=none; b=VVum4+acZ0Nlrhx+UFgdUpfte5YNCCsqiuBsdngeSKkPLFgFDVk7zBnKArXWiiRLfd/bSacwJS+NPwhEXgSgjduqXqs1P55BT8fvBJAQMpQX11xhEitZ2KC1podDU0bVvlIzgbFSfxu7MW1lhTKj+8acDIHovPZPpRLE6qluOIM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750777647; c=relaxed/simple; bh=Df7CTgkd1sYa7DgXpsj70h5CzI6BGbH2lgQBkKTKQ9E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MRw5puirgTuA8FjVbhkuHtdwGxefP9cSrkbc+z6YFR/1ocf5kLbtjaU3wUfNNBcvy3Itwa1yO+5+UbllLyV2PtLw0//goPSyzcJ2GtXzlTy4NrUpYWYNzZP3HeTN5J61EjNRJBQ+iQbXtImih4PI7vg7m9yvBvkZj1ondpDO0YU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S2avx8YD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S2avx8YD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D01A6C4CEEE; Tue, 24 Jun 2025 15:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750777647; bh=Df7CTgkd1sYa7DgXpsj70h5CzI6BGbH2lgQBkKTKQ9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S2avx8YDxnqiCHqEDYeZSRzuyTfc/6EdYLAKGlF+BB5cNIpVpcjayHXRCQ1wVYF5i M8/4YYThlKDMe7Br0+Eamhretf0BQDgVf+ND60EJbEb+8iZ67dvW/flsLaiu6lCEkv wRbXqWyZOXjNEK6jH86lkbNZoYFWoZY+xqljIsAFgizoGwSeRS5/IT/oYyOVLZrf3X KSEBpAvmCMCmNamcqniqox6ceTwKnp5kwiatZL+bjd9d9br6wBAqbOrRXqWf0Y1f9K YVG6RD90Zhi9OM4jZTOSIHFkFNW1sD46NaDPatEKrRUrXS9fkFrLuHmgV7AVvOeBqX n5tOIz5EBnJiw== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 06/66] kconfig: gconf: make columns resizable Date: Wed, 25 Jun 2025 00:04:54 +0900 Message-ID: <20250624150645.1107002-7-masahiroy@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250624150645.1107002-1-masahiroy@kernel.org> References: <20250624150645.1107002-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The variable "resizeable" is a typo and always set to FALSE, resulting in dead code in init_right_tree(). It is unclear column resizing should be disabled. Enable it. Signed-off-by: Masahiro Yamada Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- scripts/kconfig/gconf.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index c0f46f189060..a3978d3420d1 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -30,7 +30,6 @@ static gint view_mode =3D FULL_VIEW; static gboolean show_name =3D TRUE; static gboolean show_range =3D TRUE; static gboolean show_value =3D TRUE; -static gboolean resizeable =3D FALSE; static int opt_mode =3D OPT_NORMAL; =20 GtkWidget *main_wnd =3D NULL; @@ -312,11 +311,9 @@ static void init_right_tree(void) column =3D gtk_tree_view_get_column(view, COL_VALUE); gtk_tree_view_column_set_visible(column, show_value); =20 - if (resizeable) { - for (i =3D 0; i < COL_VALUE; i++) { - column =3D gtk_tree_view_get_column(view, i); - gtk_tree_view_column_set_resizable(column, TRUE); - } + for (i =3D 0; i < COL_VALUE; i++) { + column =3D gtk_tree_view_get_column(view, i); + gtk_tree_view_column_set_resizable(column, TRUE); } =20 sel =3D gtk_tree_view_get_selection(view); --=20 2.43.0