Skip to content

Commit

Permalink
Use setlocale instead of deprecated gtk_set_locale
Browse files Browse the repository at this point in the history
  • Loading branch information
gusnan committed Oct 25, 2022
1 parent 119afc2 commit e16d316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpa.c
Expand Up @@ -189,7 +189,7 @@ i18n_init (void)
#ifdef ENABLE_NLS
char *tmp;

gtk_set_locale ();
setlocale(LC_ALL, "");
bind_textdomain_codeset (PACKAGE, "UTF-8");

tmp = get_locale_dir ();
Expand Down

0 comments on commit e16d316

Please sign in to comment.