/* Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. See G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK.  */
void g_file_info_set_is_symlink(GFileInfo *info, gboolean is_symlink)
/* Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. See G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK.  */
void g_file_info_set_is_symlink(GFileInfo *info, gboolean is_symlink)
{
  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_IS_SYMLINK);
  value = g_file_info_create_value (info, attr);
  if (value)
    _g_file_attribute_value_set_boolean (value, is_symlink);
}