OSDN Git Service

docs: Clarify how to unset a GFileInfo attribute
authorDavid King <amigadave@amigadave.com>
Tue, 21 Feb 2012 11:19:20 +0000 (11:19 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 03:22:05 +0000 (22:22 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=592666

gio/gfileinfo.c

index 9456afa..2ad185e 100644 (file)
@@ -1109,7 +1109,8 @@ _g_file_info_set_attribute_by_id (GFileInfo                 *info,
  * @type: a #GFileAttributeType
  * @value_p: pointer to the value
  *
- * Sets the @attribute to contain the given value, if possible.
+ * Sets the @attribute to contain the given value, if possible. To unset the
+ * attribute, use %G_ATTRIBUTE_TYPE_INVALID for @type.
  **/
 void
 g_file_info_set_attribute (GFileInfo                 *info,