[glib] Improve docs



commit 93ea4ab6106327e2f417df1d9b00a5ec597e4a48
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Mar 31 10:50:08 2010 -0400

    Improve docs

 glib/gstring.c   |    2 +-
 glib/gurifuncs.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gstring.c b/glib/gstring.c
index aaff031..5a6b5df 100644
--- a/glib/gstring.c
+++ b/glib/gstring.c
@@ -781,7 +781,7 @@ gunichar_ok (gunichar c)
  * g_string_append_uri_escaped:
  * @string: a #GString
  * @unescaped: a string
- * @reserved_chars_allowed: a string of reserved characters allowed to be used
+ * @reserved_chars_allowed: a string of reserved characters allowed to be used, or %NULL
  * @allow_utf8: set %TRUE if the escaped string may include UTF8 characters
  * 
  * Appends @unescaped to @string, escaped any characters that
diff --git a/glib/gurifuncs.c b/glib/gurifuncs.c
index 5f1ef71..a2930aa 100644
--- a/glib/gurifuncs.c
+++ b/glib/gurifuncs.c
@@ -216,7 +216,7 @@ g_uri_parse_scheme (const char  *uri)
  * g_uri_escape_string:
  * @unescaped: the unescaped input string.
  * @reserved_chars_allowed: a string of reserved characters that are
- *      allowed to be used.
+ *      allowed to be used, or %NULL.
  * @allow_utf8: %TRUE if the result can include UTF-8 characters.
  * 
  * Escapes a string for use in a URI.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]