unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH

Raised by Matthias in bgo#665685 but which I didn't spot until after pushing
commit 3ac7c35656.

Renames G_UNICHAR_MAX_DECOMPOSITION_LEN to G_UNICHAR_MAX_DECOMPOSITION_LENGTH
and fixes a few documentation issues.

See: bgo#665685
This commit is contained in:
Philip Withnall
2011-12-06 19:41:31 +00:00
parent 3ac7c35656
commit 386bb0faad
4 changed files with 7 additions and 5 deletions

View File

@@ -552,7 +552,7 @@ gsize g_unichar_fully_decompose (gunichar ch,
gsize result_len);
/**
* G_UNICHAR_MAX_COMPAT_DECOMPOSITION_LEN:
* G_UNICHAR_MAX_DECOMPOSITION_LENGTH:
*
* The maximum length (in codepoints) of a compatibility or canonical
* decomposition of a single Unicode character.
@@ -561,7 +561,7 @@ gsize g_unichar_fully_decompose (gunichar ch,
*
* Since: 2.31.3
*/
#define G_UNICHAR_MAX_DECOMPOSITION_LEN 18 /* codepoints */
#define G_UNICHAR_MAX_DECOMPOSITION_LENGTH 18 /* codepoints */
/* Compute canonical ordering of a string in-place. This rearranges
decomposed characters in the string according to their combining