Improve docs

svn path=/trunk/; revision=7896
This commit is contained in:
Matthias Clasen 2009-02-23 04:23:14 +00:00
parent 45fdc135b2
commit 8ad668c7f0
2 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572464 Doc for g_file_get_contents
* glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
out by Øystein Johansen.
2009-02-22 Matthias Clasen <mclasen@redhat.com> 2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572672 glib/gthread.c: argument is different type Bug 572672 glib/gthread.c: argument is different type

View File

@ -798,7 +798,8 @@ get_contents_win32 (const gchar *filename,
/** /**
* g_file_get_contents: * g_file_get_contents:
* @filename: name of a file to read contents from, in the GLib file name encoding * @filename: name of a file to read contents from, in the GLib file name encoding
* @contents: location to store an allocated string * @contents: location to store an allocated string, use g_free() to free
* the returned string
* @length: location to store length in bytes of the contents, or %NULL * @length: location to store length in bytes of the contents, or %NULL
* @error: return location for a #GError, or %NULL * @error: return location for a #GError, or %NULL
* *