From f71eca16d53e9c862b920975257234104f3c6704 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sun, 6 Oct 2019 01:55:40 +0000 Subject: [PATCH] gio/gfile: fix parameter references to @contents Fix a number of occurrences where the parameter reference was missing the trailing 's' --- gio/gfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gio/gfile.c b/gio/gfile.c index 4dc5c9d6f..d3e4433c3 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -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.