/* Sets the edit name for the current file. See G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME.  */
void g_file_info_set_edit_name(GFileInfo *info, const char *edit_name)
/* Sets the edit name for the current file. See G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME.  */
void g_file_info_set_edit_name(GFileInfo *info, const char *edit_name)
{
  static guint32 attr = 0;
  GFileAttributeValue *value;
  g_return_if_fail (G_IS_FILE_INFO (info));
  g_return_if_fail (edit_name != NULL);
  if (attr == 0)
    attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME);
  value = g_file_info_create_value (info, attr);
  if (value)
    _g_file_attribute_value_set_string (value, edit_name);
}