Clarify docs. Patch by Jared Moore
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Jun 2008 05:02:06 +0000 (05:02 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Jun 2008 05:02:06 +0000 (05:02 +0000)
        * gfile.c (g_file_append_to): Clarify docs.
        Patch by Jared Moore

svn path=/trunk/; revision=7110

gio/ChangeLog
gio/gfile.c

index 064f4a4..e2229a5 100644 (file)
@@ -1,5 +1,12 @@
 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
 
+       Bug 540331 – g_file_append_to () documentation: can return NULL
+
+       * gfile.c (g_file_append_to): Clarify docs.
+       Patch by Jared Moore
+
+2008-06-30  Matthias Clasen  <mclasen@redhat.com>
+
        Bug 539090 – g_content_type_from_mime_type() should unalias
 
        * gcontentype.c (g_content_type_from_mime_type): Unalias.
index 498d337..4194f6c 100644 (file)
@@ -1427,12 +1427,12 @@ g_file_read (GFile         *file,
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  *
  * Some file systems don't allow all file names, and may
- * return an G_IO_ERROR_INVALID_FILENAME error.
- * If the file is a directory the G_IO_ERROR_IS_DIRECTORY error will be
+ * return an %G_IO_ERROR_INVALID_FILENAME error.
+ * If the file is a directory the %G_IO_ERROR_IS_DIRECTORY error will be
  * returned. Other errors are possible too, and depend on what kind of
  * filesystem the file is on.
  * 
- * Returns: a #GFileOutputStream.
+ * Returns: a #GFileOutputStream, or %NULL on error
  **/
 GFileOutputStream *
 g_file_append_to (GFile             *file,