Simplify greatly. Instead of hardcoding a large switch statement, just ask
authorTor Lillqvist <tml@novell.com>
Mon, 15 Jan 2007 01:13:57 +0000 (01:13 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 15 Jan 2007 01:13:57 +0000 (01:13 +0000)
commit1535446885aaf3064f2256a501e74feb9515a0e8
tree9d4a1fefb6ba9ebfcd76d0ea1107de354eaf7a9c
parent38b9221961242702ec2a91d263d43aa08a630a7d
Simplify greatly. Instead of hardcoding a large switch statement, just ask

2007-01-15  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c (g_win32_getlocale): Simplify greatly. Instead of
hardcoding a large switch statement, just ask Windows for the
ISO639 and ISO3166 codes. Tack on @Latn or @Cyrl for those
languages which can alternatively be written in Latin or Cyrillic.

svn path=/trunk/; revision=5257
ChangeLog
glib/gwin32.c