Improve the docs
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 11 Jun 2008 15:58:02 +0000 (15:58 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 11 Jun 2008 15:58:02 +0000 (15:58 +0000)
svn path=/trunk/; revision=7002

ChangeLog
glib/gkeyfile.c

index 571ba67..9135ccf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-11  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 498732 – g_key_file_to_data cannot fail
+
+       * glib/gkeyfile.c (g_key_file_to_data): Improve the docs.
+       Proposed by Christian Persch
+
 2008-06-11  Ross Burton  <ross@burtonini.com>
 
        Bug 511367 - add g_file_make_directory_with_parents.
index f0a2637..4246f51 100644 (file)
@@ -1010,6 +1010,9 @@ g_key_file_flush_parse_buffer (GKeyFile  *key_file,
  *
  * This function outputs @key_file as a string.  
  *
+ * Note that this function never reports an error,
+ * so it is safe to pass %NULL as @error.
+ *
  * Return value: a newly allocated string holding
  *   the contents of the #GKeyFile 
  *