[glib] gio: Fix typo in g_file_info_set_attribute docs
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Fix typo in g_file_info_set_attribute docs
- Date: Tue, 15 May 2018 14:07:34 +0000 (UTC)
commit 1ec70e713c4f611393cc3273a266f6ff94c6ca0c
Author: Ondrej Holy <oholy redhat com>
Date: Tue May 15 15:37:05 2018 +0200
gio: Fix typo in g_file_info_set_attribute docs
g_file_info_set_attribute mentions %G_ATTRIBUTE_TYPE_INVALID, but no
such value exists. It should be %G_FILE_ATTRIBUTE_TYPE_INVALID.
https://bugzilla.gnome.org/show_bug.cgi?id=796138
gio/gfileinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c
index be7bef019..a595c6f4a 100644
--- a/gio/gfileinfo.c
+++ b/gio/gfileinfo.c
@@ -1113,7 +1113,7 @@ _g_file_info_set_attribute_by_id (GFileInfo *info,
* @value_p: (not nullable): pointer to the value
*
* Sets the @attribute to contain the given value, if possible. To unset the
- * attribute, use %G_ATTRIBUTE_TYPE_INVALID for @type.
+ * attribute, use %G_FILE_ATTRIBUTE_TYPE_INVALID for @type.
**/
void
g_file_info_set_attribute (GFileInfo *info,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]