]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kconfig: gconf: remove unnecessary gtk_set_locale() call
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:04 +0000 (00:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Jul 2025 11:07:34 +0000 (20:07 +0900)
gtk_set_locale() has been deprecated since version 2.24, and setlocale()
should be used directly. [1]

However, gtk_init() automatically does this, so there is typically no
point in calling this function.

[1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gtk/gtkmain.c#L1152

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

index 4bbc8f87deb693fd2387b6d416a7a89a06a61d44..3e632a325c100167b3ac3aa89c7dcc5e9a77b774 100644 (file)
@@ -1367,7 +1367,6 @@ int main(int ac, char *av[])
        gchar *glade_file;
 
        /* GTK stuffs */
-       gtk_set_locale();
        gtk_init(&ac, &av);
        glade_init();