/* Sets the attribute value to the given boolean value.  */
void _g_file_attribute_value_set_boolean(GFileAttributeValue *attr, gboolean value)
/* Sets the attribute value to the given boolean value.  */
void _g_file_attribute_value_set_boolean(GFileAttributeValue *attr, gboolean value)
{
  g_return_if_fail (attr != NULL);
  _g_file_attribute_value_clear (attr);
  attr->type = G_FILE_ATTRIBUTE_TYPE_BOOLEAN;
  attr->u.boolean = !!value;
}