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 /docs | |
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 'docs')
-rw-r--r-- | docs/pango-sections.txt | 1 | ||||
-rw-r--r-- | docs/tmpl/utils.sgml | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index afa6afe2..ba268e5e 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -965,6 +965,7 @@ pango_parse_stretch pango_get_sysconf_subdirectory pango_get_lib_subdirectory pango_log2vis_get_embedding_levels +pango_language_get_default pango_language_get_sample_string pango_is_zero_width pango_quantize_line_geometry diff --git a/docs/tmpl/utils.sgml b/docs/tmpl/utils.sgml index eab7fbaf..d836f661 100644 --- a/docs/tmpl/utils.sgml +++ b/docs/tmpl/utils.sgml @@ -175,6 +175,14 @@ backends and modules, but may be useful for other purposes too. @Returns: +<!-- ##### FUNCTION pango_language_get_default ##### --> +<para> + +</para> + +@Returns: + + <!-- ##### FUNCTION pango_language_get_sample_string ##### --> <para> |