Re: [PATCH v2 7/9] kconfig: gconf: replace GdkColor with GdkRGBA

From: Randy Dunlap
Date: Mon Jun 30 2025 - 19:15:48 EST




On 6/29/25 11:43 AM, Masahiro Yamada wrote:
> GdkColor is deprecated with GTK 3.14. [1]
>
> Use GdkRGBA instead.
>
> This fixes warnings such as:
>
> scripts/kconfig/gconf.c: In function ‘set_node’:
> scripts/kconfig/gconf.c:138:9: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations]
> 138 | gdk_color_parse(menu_is_visible(menu) ? "Black" : "DarkGray", &color);
> | ^~~~~~~~~~~~~~~
>
> [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.14.0/gdk/deprecated/gdkcolor.h#L52
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
>
> (no changes since v1)
>
> scripts/kconfig/gconf.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>


--
~Randy