From d1e5161ab0206adc6f17325152e337d44ae6ec73 Mon Sep 17 00:00:00 2001 From: Holger Berndt Date: Thu, 3 Jun 2010 03:22:36 +0200 Subject: [PATCH] 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 --- gio/gfile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/gfile.c b/gio/gfile.c index a5d00fe26..c67dab932 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -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