kconfig: gconf: inline fill_row() into set_node()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:35 +0000 (00:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 2 Jul 2025 02:11:52 +0000 (11:11 +0900)
commit64285dc5c41fc7a031695c2c286a2bfef9eaf2c6
treee636514783b7d66c0a74cf523e8ea6cf3789b35d
parented332436f3ca8a130ee9fc49d0882af5fbc344ef
kconfig: gconf: inline fill_row() into set_node()

The row[] array is used to prepare data passed to set_node(), but this
indirection is unnecessary. Squash fill_row() into set_node() and call
gtk_tree_store_set() directly.

Also, calling gdk_pixbuf_new_from_xpm_data() for every row is
inefficient. Call it once and store the resulting pixbuf in a global
variable.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c