From ef030130abd759d074b794c971dd4276190bf3cf Mon Sep 17 00:00:00 2001 From: Davyd Madeley Date: Sat, 1 Oct 2005 02:48:35 +0000 Subject: [PATCH] Minor documentation improvements for g_strchug, g_strchomp and g_strstrip. 2005-10-01 Davyd Madeley * glib/tmpl/string_utils.sgml: Minor documentation improvements for g_strchug, g_strchomp and g_strstrip. Brought forward from glib-2-8. --- docs/reference/ChangeLog | 5 +++++ docs/reference/glib/tmpl/string_utils.sgml | 17 ++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 5ffbd31ac..c9db03540 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-10-01 Davyd Madeley + + * glib/tmpl/string_utils.sgml: Minor documentation improvements for + g_strchug, g_strchomp and g_strstrip. Brought forward from glib-2-8. + 2005-08-31 Matthias Clasen * glib/tmpl/quarks.sgml: diff --git a/docs/reference/glib/tmpl/string_utils.sgml b/docs/reference/glib/tmpl/string_utils.sgml index 0fce6c4de..224cf601d 100644 --- a/docs/reference/glib/tmpl/string_utils.sgml +++ b/docs/reference/glib/tmpl/string_utils.sgml @@ -722,6 +722,13 @@ The typical usage would be something like: Removes leading whitespace from a string, by moving the rest of the characters forward. + +This function doesn't allocate or reallocate any memory; it modifies @string +in place. The pointer to @string is returned to allow the nesting of functions. + + +Also see g_strchomp() and g_strstrip(). + @string: a string to remove the leading whitespace from. @Returns: @string. @@ -731,6 +738,13 @@ characters forward. Removes trailing whitespace from a string. + +This function doesn't allocate or reallocate any memory; it modifies @string in +place. The pointer to @string is returned to allow the nesting of functions. + + +Also see g_strchug() and g_strstrip(). + @string: a string to remove the trailing whitespace from. @Returns: @string. @@ -738,7 +752,8 @@ Removes trailing whitespace from a string. -Removes leading and trailing whitespace from a string. +Removes leading and trailing whitespace from a string. See g_strchomp() and +g_strchug(). @string: a string to remove the leading and trailing whitespace from.