gio/gfile: fix parameter references to @contents

Fix a number of occurrences where the parameter reference was missing the trailing 's'
This commit is contained in:
David Lechner 2019-10-06 01:55:40 +00:00
parent 25ed7d45d9
commit f71eca16d5

View File

@ -7044,7 +7044,7 @@ g_file_query_default_handler_finish (GFile *file,
*
* Loads the content of the file into memory. The data is always
* zero-terminated, but this is not included in the resultant @length.
* The returned @content should be freed with g_free() when no longer
* The returned @contents should be freed with g_free() when no longer
* needed.
*
* If @cancellable is not %NULL, then the operation can be cancelled by
@ -7333,7 +7333,7 @@ g_file_load_partial_contents_async (GFile *file,
* Finishes an asynchronous partial load operation that was started
* with g_file_load_partial_contents_async(). The data is always
* zero-terminated, but this is not included in the resultant @length.
* The returned @content should be freed with g_free() when no longer
* The returned @contents should be freed with g_free() when no longer
* needed.
*
* Returns: %TRUE if the load was successful. If %FALSE and @error is
@ -7430,7 +7430,7 @@ g_file_load_contents_async (GFile *file,
*
* Finishes an asynchronous load of the @file's contents.
* The contents are placed in @contents, and @length is set to the
* size of the @contents string. The @content should be freed with
* size of the @contents string. The @contents should be freed with
* g_free() when no longer needed. If @etag_out is present, it will be
* set to the new entity tag for the @file.
*
@ -7687,7 +7687,7 @@ replace_contents_open_callback (GObject *obj,
* If @make_backup is %TRUE, this function will attempt to
* make a backup of @file.
*
* Note that no copy of @content will be made, so it must stay valid
* Note that no copy of @contents will be made, so it must stay valid
* until @callback is called. See g_file_replace_contents_bytes_async()
* for a #GBytes version that will automatically hold a reference to the
* contents (without copying) for the duration of the call.