Re: #60606 - automatically set locale
- From: Owen Taylor <otaylor redhat com>
- To: Sven Neumann <sven gimp org>
- Cc: gtk-devel-list gnome org
- Subject: Re: #60606 - automatically set locale
- Date: 19 Oct 2001 11:26:19 -0400
Sven Neumann <sven gimp org> writes:
> Hi,
>
> Owen Taylor <otaylor redhat com> writes:
>
> > Bug #60606 suggests that gtk_init() should automatically call
> > setlocale (LC_ALL, "") and do the other set up done currently
> > by gtk_set_locale().
> [...]
> > The plan, in detail would then be:
> >
> > - Add a gtk_disable_setlocale() call that you can
> > use to make GTK+ not call setlocale().
> >
> > - If this has not been calle,d to setlocale (LC_ALL, "") as
> > the first thing in gtk_init()
> >
> > - 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().
>
> looks as if you have committed this change, but didn't you meant
> to make gtk_disable_setlocale() public ?!
>
> Here's a patch. If it is correct, please commit as I won't have
> net access for a few days...
Fixed, thanks.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]