diff options
author | Tor Lillqvist <tml@iki.fi> | 2003-09-20 23:52:16 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2003-09-20 23:52:16 +0000 |
commit | 71e847d11c4a94291b8068eeae924a3978cc91c5 (patch) | |
tree | 86bfedba20cc2c25fb4c34f0f83e9f9be6ce91b4 /gtk/gtkmain.h | |
parent | e95ad99afe722788319dd0fcb9f4e7ed9ab6e2e6 (diff) | |
download | gdk-pixbuf-71e847d11c4a94291b8068eeae924a3978cc91c5.tar.gz |
Don't use zip -r on the etc directory, to avoid including editor backup
2003-09-20 Tor Lillqvist <tml@iki.fi>
* gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
including editor backup files. List files we want explicitly.
* gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
LC_ALL, LC_CTYPE and LANG environment variables, than calls
g_win32_getlocale().
(gtk_get_default_language): Code snippet moved to above function,
call it.
* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
* gtk/gtkrc.c (gtk_rc_context_parse_file): Call
_gtk_get_lc_ctype() instead of setlocale().
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 45527b720..a159aff0a 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -215,6 +215,8 @@ gchar * _gtk_find_module (const gchar *name, const gchar *type); gchar **_gtk_get_module_path (const gchar *type); +gchar *_gtk_get_lc_ctype (void); + #ifdef __cplusplus } #endif /* __cplusplus */ |