diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-10-10 16:56:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-10-10 16:56:54 +0000 |
commit | dfb3a1b0f8feec4a8f2f0f94333d51e60718fd14 (patch) | |
tree | 1c522f2505ee095832d8cf2ba360a837b2d56954 /examples | |
parent | 63bd2b3030a76b84a20c9df9cf22c837d559b21c (diff) | |
download | gtk+-dfb3a1b0f8feec4a8f2f0f94333d51e60718fd14.tar.gz |
Call setlocale (LC_ALL, ""). (#60606)
Wed Oct 10 12:48:38 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, "").
(#60606)
* gtk/gtkmain.c (gtk_disable_setlocale): Add function
to disable calling setlocale (LC_ALL, "").
* gtk/gtkmain.c (gtk_set_locale): Indicate in the
docs that this function is not typically useful.
* gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}:
Automatically initialize GDK for the current locale
on gdk_init(). Don't reset locale to C when
XSupportsLocale() fails.
* gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove
useless checks for UTF-8 locale breakage that mattered
only for X.
* examples/calendar/calendar.c
tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to
gtk_set_locale().
* gtk/gtkiconfactory.c gtk/gtkitemfactory.c:
gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/calendar/calendar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/calendar/calendar.c b/examples/calendar/calendar.c index 42cae57f0b..c3dfc4c177 100644 --- a/examples/calendar/calendar.c +++ b/examples/calendar/calendar.c @@ -412,7 +412,6 @@ void create_calendar() int main(int argc, char *argv[] ) { - gtk_set_locale (); gtk_init (&argc, &argv); create_calendar(); |