Explain the difference to g_key_file_get_value(). Pointed out by Mart

* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
        to g_key_file_get_value(). Pointed out by Mart Raudsepp.



svn path=/trunk/; revision=7705
This commit is contained in:
Matthias Clasen
2008-11-28 21:22:21 +00:00
parent a2830c774d
commit 0be828b4f8
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562544 g_key_file_get_string and g_key_file_get_value
documentation does not explain the difference
* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
to g_key_file_get_value(). Pointed out by Mart Raudsepp.
2008-11-28 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Refer to @locale parameters as locale identifier

View File

@@ -1343,7 +1343,9 @@ g_key_file_set_value (GKeyFile *key_file,
* @key: a key
* @error: return location for a #GError, or %NULL
*
* Returns the value associated with @key under @group_name.
* Returns the string value associated with @key under @group_name.
* Unlike g_key_file_get_value(), this function handled escape sequences
* like \s.
*
* In the event the key cannot be found, %NULL is returned and
* @error is set to #G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the