xattr add possibility to remove an extended attribute
@michele.dionisio
Submitted by Michele Dionisio Link to original bug (#769442)
Description
Created attachment 332581 patch to support remove xattr
using g_file_set_attribute it is possible to set/replace an extended attribute (xattr) implemented in glocalfileinfo.c.
there is no method in any interface to remove an attribute so I have extended g_file_set_attribute that now accept only type G_FILE_ATTRIBUTE_TYPE_STRING to support also G_FILE_ATTRIBUTE_TYPE_INVALID and in that case remove the extended attribute
I have test the patch on linux only.
Patch 332581, "patch to support remove xattr":
add_removexattr.patch