Document how to unset attributes

Unsetting won't work on all attributes. Currently, only
metadata attributes are supported.

https://bugzilla.gnome.org/show_bug.cgi?id=620423
This commit is contained in:
Holger Berndt 2010-06-03 03:22:36 +02:00
parent ec98953e42
commit d1e5161ab0

View File

@ -3828,6 +3828,9 @@ g_file_query_writable_namespaces (GFile *file,
* @error: a #GError, or %NULL
*
* Sets an attribute in the file with attribute name @attribute to @value.
*
* Some attributes can be unset by setting @attribute to
* %G_FILE_ATTRIBUTE_TYPE_INVALID and @value to %NULL.
*
* If @cancellable is not %NULL, then the operation can be cancelled by
* triggering the cancellable object from another thread. If the operation