Re: #60606 - automatically set locale
- From: Sven Neumann <sven gimp org>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: #60606 - automatically set locale
- Date: 04 Oct 2001 13:22:50 +0200
Hi,
Owen Taylor <otaylor redhat com> writes:
> - Automatically do the rest of the stuff (initializing X for
> the locale) that we do in gtk_set_locale() in gtk_init()
> even if you call gtk_disable_setlocale(), so you can
> do:
>
> gtk_disable_setlocale();
>
> setlocale (LC_ALL, "");
> setlocale (LC_NUMERIC, "C");
>
> gtk_init();
>
> And it will work properly.
am I correct to assume that
gtk_init();
setlocale (LC_NUMERIC, "C");
will work properly too? If so, I see no problems with the change.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]