/* Sets the G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info to the given size.  */
void g_file_info_set_size(GFileInfo *info, goffset size)
/* Sets the G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info to the given size.  */
void g_file_info_set_size(GFileInfo *info, goffset size)
{
  static guint32 attr = 0;
  GFileAttributeValue *value;
  g_return_if_fail (G_IS_FILE_INFO (info));
  if (attr == 0)
    attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_SIZE);
  value = g_file_info_create_value (info, attr);
  if (value)
    _g_file_attribute_value_set_uint64 (value, size);
}