diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-12-06 23:00:31 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-12-06 23:00:31 +0000 |
commit | f3507cc8cf4106cd4731c57b32092f5362883bdd (patch) | |
tree | 028c81ff5aa62a22f73b2b9c7a7bd13ac373f5bf /pango/pango.def | |
parent | b7c74a7787b624bdf1ef6a4f6dba2007317b9265 (diff) | |
download | pango-f3507cc8cf4106cd4731c57b32092f5362883bdd.tar.gz |
Bug 333982 – Fallback to $LANG whenever NULL PangoLanguage is used Patch
2006-12-06 Behdad Esfahbod <behdad@gnome.org>
Bug 333982 – Fallback to $LANG whenever NULL PangoLanguage is used
Patch from LingNing Zhang
* docs/pango-sections.txt:
* docs/tmpl/utils.sgml:
* pango/pango-context.c:
* pango/pango-types.h:
* pango/pango-utils.c (_pango_get_lc_ctype),
(pango_language_get_default):
* pango/pango.def:
New public function pango_language_get_default(). Note that, this
does not make Pango fallback to the default language automatically,
but the user can use this function to set the default language of the
locale on a context:
pango_context_set_language (context, pango_language_get_default());
Diffstat (limited to 'pango/pango.def')
-rw-r--r-- | pango/pango.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango.def b/pango/pango.def index a8430f9c..cb64cce1 100644 --- a/pango/pango.def +++ b/pango/pango.def @@ -194,6 +194,7 @@ EXPORTS pango_itemize pango_itemize_with_base_dir pango_language_from_string + pango_language_get_default pango_language_get_sample_string pango_language_get_type pango_language_includes_script |