/* Returns: a signed 32-bit integer from the attribute.  */
gint32 g_file_info_get_attribute_int32(GFileInfo *info, const char *attribute)
/* Returns: a signed 32-bit integer from the attribute.  */
gint32 g_file_info_get_attribute_int32(GFileInfo *info, const char *attribute)
{
  GFileAttributeValue *value;
  g_return_val_if_fail (G_IS_FILE_INFO (info), 0);
  g_return_val_if_fail (attribute != NULL && *attribute != '\0', 0);
  value = g_file_info_find_value_by_name (info, attribute);
  return _g_file_attribute_value_get_int32 (value);
}