mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: don't setlocale in pw_init
Remove the backward compat workaround. Avoids threadsafety etc. issues. New WP release sets the locale itself.
This commit is contained in:
parent
a3e10d6023
commit
9240a7b6f3
1 changed files with 0 additions and 3 deletions
|
|
@ -413,9 +413,6 @@ static const char *i18n_ntext(void *object, const char *msgid, const char *msgid
|
||||||
|
|
||||||
static void init_i18n(struct support *support)
|
static void init_i18n(struct support *support)
|
||||||
{
|
{
|
||||||
/* XXX: we should remove this setlocale() call, after wireplumber
|
|
||||||
* XXX: starts setting the locale */
|
|
||||||
setlocale(LC_MESSAGES, "");
|
|
||||||
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
||||||
pw_set_domain(GETTEXT_PACKAGE);
|
pw_set_domain(GETTEXT_PACKAGE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue