diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2025-06-24 18:05:04 +0300 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-07-01 14:07:34 +0300 |
| commit | f931a5d37a17f941492392b13f0ad67b1bac8bef (patch) | |
| tree | 4b4acbf0b4542e434d5d3587f0dd17643cfa1348 | |
| parent | ace8bee8369c209b647600c3dc28b529e4f44966 (diff) | |
| download | linux-f931a5d37a17f941492392b13f0ad67b1bac8bef.tar.xz | |
kconfig: gconf: remove unnecessary gtk_set_locale() call
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>
| -rw-r--r-- | scripts/kconfig/gconf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 4bbc8f87deb6..3e632a325c10 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -1367,7 +1367,6 @@ int main(int ac, char *av[]) gchar *glade_file; /* GTK stuffs */ - gtk_set_locale(); gtk_init(&ac, &av); glade_init(); |
