[glib] gresource: fix a couple of typos in documentation
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gresource: fix a couple of typos in documentation
- Date: Thu, 11 Jun 2015 22:57:02 +0000 (UTC)
commit 0d6e200384c8c2fb172273dcfaa6a48bc357d4a3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jun 11 15:56:25 2015 -0700
gresource: fix a couple of typos in documentation
gio/gresource.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gresource.c b/gio/gresource.c
index a0252c9..245b25c 100644
--- a/gio/gresource.c
+++ b/gio/gresource.c
@@ -157,7 +157,7 @@ G_DEFINE_QUARK (g-resource-error-quark, g_resource_error)
* g_resource_ref:
* @resource: A #GResource
*
- * Atomically increments the reference count of @array by one. This
+ * Atomically increments the reference count of @resource by one. This
* function is MT-safe and may be called from any thread.
*
* Returns: The passed in #GResource
@@ -176,7 +176,7 @@ g_resource_ref (GResource *resource)
* @resource: A #GResource
*
* Atomically decrements the reference count of @resource by one. If the
- * reference count drops to 0, all memory allocated by the array is
+ * reference count drops to 0, all memory allocated by the resource is
* released. This function is MT-safe and may be called from any
* thread.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]